summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-07-13 22:53:59 +1000
committerDamien George <damien@micropython.org>2025-07-23 12:39:42 +1000
commit8a457b8cf9c9aa6fc2f09f64914c3646827dbae2 (patch)
tree97905faa20ef693b842c115183ba8171f64bd818
parent677a0e01248bc7075f342c7df9671b006bf76c89 (diff)
tools/ci.sh: Change averaging to 1 for run-perfbench.py test.
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. Signed-off-by: Damien George <damien@micropython.org>
-rwxr-xr-xtools/ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci.sh b/tools/ci.sh
index 30be7ec2b..3e695c63a 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -538,7 +538,7 @@ function ci_unix_run_tests_helper {
function ci_unix_run_tests_full_extra {
micropython=$1
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=$micropython ./run-multitests.py multi_net/*.py)
- (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=$micropython ./run-perfbench.py 1000 1000)
+ (cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=$micropython ./run-perfbench.py --average 1 1000 1000)
}
function ci_unix_run_tests_full_no_native_helper {