Firefox OS/Performance/Profiling: Difference between revisions

Line 11: Line 11:
This should now work on both Linux and Mac build hosts. Refer to [https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler Profiling with the Built in Profiler]. There no longer is need to use a separate branch for the profiler to work.
This should now work on both Linux and Mac build hosts. Refer to [https://developer.mozilla.org/en-US/docs/Performance/Profiling_with_the_Built-in_Profiler Profiling with the Built in Profiler]. There no longer is need to use a separate branch for the profiler to work.


Essential workflow:
# Add 'export MOZ_PROFILING=1' to your B2G .userconfig. Build B2G.
# Run profile.sh start
# Run profile.sh start
# Capture the profile
# Capture the profile
# Upload the profile to [http://people.mozilla.com/~bgirard/cleopatra/ Cleopatra]
# Upload the profile to [http://people.mozilla.com/~bgirard/cleopatra/ Cleopatra]
# Make it faster!


== Fine-Tuning ==
== Fine-Tuning ==
canmove, Confirmed users
58

edits