Android Performance Debugging/Profiling

TraceView, dumpsys (gfxinfo), systrace (add trace view in code )

Google IO lecture:

systrace(if realtime/call is large, the problem is likely to happen here)

adb shell dumpsys SurfaceFlinger

Hierarchy viewer will not work on retail device

tracer for OpenGL ES

Allocation Tracker

Avoiding memory allocation(New object) in the middle of animation

Consistent framrate

Don’t draw invisible items (clipRect)


Memory management

FPS in game