Confirmed users
2,177
edits
(Emphasize that the setup is automatic.) |
(Remove references to --no-conditioned-profile) |
||
Line 43: | Line 43: | ||
* Raptor-Browsertime (recommended):<br> | * Raptor-Browsertime (recommended):<br> | ||
./mach raptor --browsertime -t google-search | ./mach raptor --browsertime -t google-search | ||
* Browsertime-"native":<br> | * Browsertime-"native":<br> | ||
./mach browsertime https://www.sitespeed.io --firefox.binaryPath '/Users/{userdir}/moz_src/mozilla-unified/obj-x86_64-apple-darwin18.7.0/dist/Nightly.app/Contents/MacOS/firefox' | ./mach browsertime https://www.sitespeed.io --firefox.binaryPath '/Users/{userdir}/moz_src/mozilla-unified/obj-x86_64-apple-darwin18.7.0/dist/Nightly.app/Contents/MacOS/firefox' | ||
Line 54: | Line 54: | ||
Running on Raptor-Browsertime (recommended): | Running on Raptor-Browsertime (recommended): | ||
* Running on Fenix | * Running on Fenix | ||
./mach raptor --browsertime -t amazon | ./mach raptor --browsertime -t amazon --app fenix --binary org.mozilla.fenix | ||
* Running on Geckoview | * Running on Geckoview | ||
./mach raptor --browsertime -t amazon | ./mach raptor --browsertime -t amazon --app geckoview --binary org.mozilla.geckoview_example | ||
Running on vanilla Browsertime: | Running on vanilla Browsertime: | ||
Line 79: | Line 79: | ||
Or for Raptor-Browsertime (use <code>chrome</code> for desktop, and <code>chrome-m</code> for mobile): | Or for Raptor-Browsertime (use <code>chrome</code> for desktop, and <code>chrome-m</code> for mobile): | ||
./mach raptor --browsertime -t amazon --app chrome | ./mach raptor --browsertime -t amazon --app chrome --browsertime-chromedriver <PATH/TO/CHROMEDRIVER> | ||
=== More Examples === | === More Examples === | ||
Line 102: | Line 102: | ||
To run gecko profiling using Raptor-Browsertime you can add the <code>--gecko-profile</code> flag to any command and you will get profiles from the test (with the profiler page opening in the browser automatically). This method also performs symbolication for you. For example: | To run gecko profiling using Raptor-Browsertime you can add the <code>--gecko-profile</code> flag to any command and you will get profiles from the test (with the profiler page opening in the browser automatically). This method also performs symbolication for you. For example: | ||
./mach raptor --browsertime -t amazon | ./mach raptor --browsertime -t amazon --gecko-profile | ||
Note that vanilla Browsertime does support Gecko Profiling but '''it does not symbolicate the profiles''' so it is '''not recommended''' to use for debugging performance regressions/improvements. | Note that vanilla Browsertime does support Gecko Profiling but '''it does not symbolicate the profiles''' so it is '''not recommended''' to use for debugging performance regressions/improvements. |