From 8a457b8cf9c9aa6fc2f09f64914c3646827dbae2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 13 Jul 2025 22:53:59 +1000 Subject: [PATCH] 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 --- tools/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {