Is there a way to detect the performance of your app. Meaning speed of loading pages, size etc?
Michelle [import]uid: 72372 topic_id: 13860 reply_id: 313860[/import]
Is there a way to detect the performance of your app. Meaning speed of loading pages, size etc?
Michelle [import]uid: 72372 topic_id: 13860 reply_id: 313860[/import]
you could use this fps counter to see how your app performs
http://developer.anscamobile.com/code/output-fps-and-texture-memory-usage-your-app
works pretty nice!
-finefin [import]uid: 70635 topic_id: 13860 reply_id: 50935[/import]
Great I will try that! So to make sure I’m doing this correct. There are two boxes.
The first box I save as the FPS.lua.
The second box is used where in each lua file I have for my screens?
Lastly where does the performance numbers output in the terminal? [import]uid: 72372 topic_id: 13860 reply_id: 50937[/import]
yes, this is correct.
to output it in the terminal,
add this to line 52 of the first code box:
print("FPS: "..fps.."(min: "..minLastFps..")")
print("Mem: "..(system.getInfo("textureMemoryUsed")/1000000).." mb")
-finefin [import]uid: 70635 topic_id: 13860 reply_id: 50967[/import]