Bug 1650347 - Update gecko-profile argument names in DAMP documentation r=Honza

Spotted while looking at Bug 1649771, the DAMP documentation is outdated.

Differential Revision: https://phabricator.services.mozilla.com/D82170
This commit is contained in:
Julian Descottes 2020-07-03 11:42:39 +00:00
parent 6999921d92
commit a26e2b6eca
2 changed files with 5 additions and 5 deletions

View File

@ -37,12 +37,12 @@ includes the subtest label. Firefox won't automatically close so that you can vi
#### Recording a profile
```bash
./mach talos-test --activeTests damp --geckoProfile --geckoProfileEntries 100000000
./mach talos-test --activeTests damp --gecko-profile --gecko-profile-entries 100000000
```
This will automatically record the tests and open the profile. You may use the following command in order
to focus on just one subtest run:
```bash
./mach talos-test --activeTests damp --subtests custom.webconsole --cycles 1 --tppagecycles 1 --geckoProfile --geckoProfileEntries 100000000
./mach talos-test --activeTests damp --subtests custom.webconsole --cycles 1 --tppagecycles 1 --gecko-profile --gecko-profile-entries 100000000
```
## How to run it on try?

View File

@ -132,10 +132,10 @@ By default, it will run the test 25 times. In order to run it just once, do:
Also, you can record a profile while running the test. To do that, execute:
```
./mach talos-test --activeTests damp --subtest ${your-test-name} --cycles 1 --tppagecycles 1 --geckoProfile --geckoProfileEntries 100000000
./mach talos-test --activeTests damp --subtest ${your-test-name} --cycles 1 --tppagecycles 1 --gecko-profile --gecko-profile-entries 100000000
```
`--geckoProfiler` enables the profiler
`--geckoProfileEntries` defines the profiler buffer size, which needs to be large while recording performance tests
`--gecko-profile` enables the profiler
`--gecko-profile-entries` defines the profiler buffer size, which needs to be large while recording performance tests
Once it is done executing, the profile lives in a zip file you have to uncompress like this:
```