Confirmed users
85
edits
(added a screenshot) |
(inbound has been merged) |
||
| 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 Cleopatra. The captured profiles are grouped into zip files, one per Talos test, which are then copied to the upload directory. | |||
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 that can then be displayed by Cleopatra. | |||
== On [https://wiki.mozilla.org/Build:TryServer TryServer] == | == On [https://wiki.mozilla.org/Build:TryServer TryServer] == | ||
0. Make sure your Gecko repository contains [ | 0. Make sure your Gecko repository contains [http://hg.mozilla.org/mozilla-central/rev/babd56077826 mozilla-central revision babd56077826] so you'll get the good stuff from [https://bugzilla.mozilla.org/show_bug.cgi?id=1121571 bug 1121571]. | ||
1. When you push to try, add "mozharness: --spsProfile" after "try: ..." to your commit message. Example: | 1. When you push to try, add "mozharness: --spsProfile" after "try: ..." to your commit message. Example: | ||
try: -b o -p | try: -b o -p macosx64,win32,win64 -u none -t all[10.6,10.8,Windows XP,Windows 7,Windows 8] mozharness: --spsProfile | ||
2. When the tests finishes and you select the run in treeherder, you'll see links to open the collect profiles in cleopatra. Click those links. | 2. When the tests finishes and you select the run in treeherder, you'll see links to open the collect profiles in cleopatra. Click those links. | ||