Skip to content

Instantly share code, notes, and snippets.

@kruyvanna
Last active October 9, 2015 12:58
Show Gist options
  • Save kruyvanna/3510180 to your computer and use it in GitHub Desktop.
Save kruyvanna/3510180 to your computer and use it in GitHub Desktop.
Android Method Profiling
// start tracing to "/sdcard/calc.trace"
Debug.startMethodTracing("calc");
// stop tracing
Debug.stopMethodTracing();
//copy to host
adb pull /sdcard/calc.trace /tmp
//view
traceview /tmp/calc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment