tools/ci.sh: Change averaging to 1 for run-perfbench.py test. #17669
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The
run-perfbench.py
test is run as part of CI, but the actual performance results are not used. Rather, the test is just testing that all the performance tests run correctly.So there's no need to run with the default averaging of 8 (which runs each test 8 times and takes the average time for the performance result) which can take a lot of time for slower builds, eg unix sanitize, settrace and stackless builds.
This commit changes the averaging to just 1.
Testing
CI will test this.
Edit: here are the new times taken for the slower CI jobs (improved due to this PR), the time taken for the "run main test suite part":
That's a lot faster, and doesn't reduce test coverage.