Confirmed users
85
edits
(replace spsProfile with geckoProfile and make a note that perf.html integration is currently non-existent) |
(update for "mach talos-test") |
||
| Line 1: | Line 1: | ||
= How to Run Talos in Profiling Mode = | = How to Run Talos in Profiling Mode = | ||
When profiling is enabled, we use the [https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler Gecko Profiler] to capture profiles during each Talos run that can then be displayed by | When profiling is enabled, we use the [https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler Gecko Profiler] to capture profiles during each Talos run that can then be displayed by [https://perf-html.io perf.html]. The captured profiles are grouped into zip files, one per Talos test, which are placed into the upload directory. | ||
== On [https://wiki.mozilla.org/Build:TryServer TryServer] == | == On [https://wiki.mozilla.org/Build:TryServer TryServer] == | ||
| Line 15: | Line 15: | ||
== When running Talos locally == | == When running Talos locally == | ||
If you're running Talos using <code>mach talos-test</code>, you only need to append <code>--geckoProfile</code> to the command and the rest should happen automatically. | |||
After the Talos run is done, you will have a zip file with multiple profiles in your Talos "upload dir", which is, by default, at <code>testing/mozharness/build/blobber_upload_dir</code>. Unzip that file, and then go to [https://perf-html.io perf.html] and pick one of the extracted JSON files in order to display it. | |||
If you're on Windows and want to profile a Firefox build that you compiled yourself, make sure it contains profiling information and you have a symbols zip for it, by following the [https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler_and_Local_Symbols_on_Windows#Profiling_local_talos_runs directions on MDN]. | |||
= FAQ = | = FAQ = | ||