Skip to content

Python script for making graphics performance charts for an Android app.

License

Notifications You must be signed in to change notification settings

Turnsole/cookie-butter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookie-butter

Python script for making graphics performance charts for an Android app. To use, enable "Profile GPU rendering" from Developer Options (this is "Profile HWUI Rendering" on some devices), and restart the app you want to measure. Requires the matplotlib python library. Internally, uses dumpsys for gfxinfo and display via ADB.

Usage:

generate_frametime_graphs.py [-h] package [seconds] [title] [device]

Example:

python generate_frametime_graphs.py com.google.android.deskclock 5 example_graph 078f1fe513d

Output:

Median: 5.0ms 
Average: 5.0ms 
Device framerate: 60.0 
Estimated dropped frames: 4

Example Graph

There's some more info on my blog post here: https://www.lastminutedevice.com/android/2015/06/05/graphics-performance-on-android/

About

Python script for making graphics performance charts for an Android app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages