Create ./mach test-perf command

in testing_commands.py, I linked the new command to test_perf.sh
in test_perf.sh, it would prepare tp5n.zip and virtual environment
then run test_all.sh
This commit is contained in:
CHANG FU CHIAO 2016-08-28 16:16:34 +08:00
parent 0dd005eacc
commit fd204e0365
5 changed files with 43 additions and 5 deletions

View file

@ -24,7 +24,9 @@ Servo Page Load Time Test
## Run
* Activate the virutalenv: `source venv/bin/activate`
* Sync your system clock before running, the Perfherder API SSL check will fail if your system clock is not accurate. (e.g. `sudo nptdate tw.pool.ntp.org`)
* Run `test_all.sh`
* Run `test_all.sh [--servo|--gecko] [--submit]`
- choose `servo` or `gecko` as the testing engine
- enable `submit`, if you want to submit to perfherder
* Test results are submitted to https://treeherder.mozilla.org/#/jobs?repo=servo
# How it works