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>
This commit is contained in:
@@ -538,7 +538,7 @@ function ci_unix_run_tests_helper {
|
|||||||
function ci_unix_run_tests_full_extra {
|
function ci_unix_run_tests_full_extra {
|
||||||
micropython=$1
|
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-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 {
|
function ci_unix_run_tests_full_no_native_helper {
|
||||||
|
|||||||
Reference in New Issue
Block a user