Performance profiling

41 views
Skip to first unread message

Tank

unread,
Jul 12, 2016, 1:10:42 PM7/12/16
to Flambe
Hello.

Question: Are there any dedicated tools for flambe project profiling?

Background: I sometimes encounter framerate-dropping problems, however chrome's CPU usage/heap allocation recordings don't indicate anything. The problem is even worse on android as I don't have any way to profile apk. I have to tediously look at the code, disable components,  until finally I find my mistakes. My project is https://gitlab.com/Misiur/PointyShooty/tree/master/src/ps (depends on yaml and nape), and this particular problem is framedrop when shooting an arrow.

Thanks for the great library!

Jeremy McCurdy

unread,
Jul 13, 2016, 9:06:59 AM7/13/16
to Flambe
Outside of browser tools, there's not much. 

You can use the overdraw visualizer to see if there are any issues with your art setup in a scene:
https://github.com/markknol/flambe-guide/wiki/Overdraw-visualizer

Mark Knol

unread,
Jul 14, 2016, 4:35:49 PM7/14/16
to Flambe
The chrome devtools are really great to test cpu usage, find expensive functions, check heap, spit memory leaks etc etc. Just build html verdion and hit f12 in your browser and check out the profiler tab.
Reply all
Reply to author
Forward
0 new messages