Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate a ./mach test-perf command #12792
Comments
|
This would be very nice to have, especially if we could use it to compare performance between branches. |
|
It would be nice if this worked like arewecompressedyet.com where branches can be tried and various results compared easily. I assume this is possible with perfherder, but it's just so easy to use arewecompressedyet that everyone does it for almost all changes. |
|
@metajack I think that might be something we can bring up with the Perfherder team, AFAIK they are still seeking ideas to improve the Perfherder UI. It will also benefit the Platform team. |
|
From #12405 : This is a followup for #11107 . There are a few things that needs to be done:
|
|
I am trying. |
|
Great! |
Create ./mach test-perf command <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [X] These changes fix #12792 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it is low-risk <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> in **testing_commands.py**, I linked the new command to **test_perf.sh** in **test_perf.sh**, it prepares tp5n.zip and virtual environment then runs **test_all.sh** <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13091) <!-- Reviewable:end -->
Since the page load performance test runner is now in tree, we can create a mach command that runs it on the locally built Servo binary.
Some thing so consider:
This sounds like a easy to less-easy task, if someone is interested please give it a try first.