Firefox OS/Performance/Profiling: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 8: Line 8:


Good at: Shows process preemption, shows all calls to instrumented functions, Familiar for android developers
Good at: Shows process preemption, shows all calls to instrumented functions, Familiar for android developers
Bad at: Requires configure option, higher overhead
Bad at: Requires configure option, higher overhead



Revision as of 04:46, 10 January 2014

Profiling with the gecko profiler

Good at: Native stacks (with runtime options) + javascript profiling, low overhead sampling, familiar for gecko developers

See these instructions. Patches are in-flight to get native stacks in profiles, but that's not in default configurations yet.

Profiling with systrace

Good at: Shows process preemption, shows all calls to instrumented functions, Familiar for android developers

Bad at: Requires configure option, higher overhead

  • Better instructions coming*.

Build with '--enable-systrace' and follow these instructions for systrace.py.