diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2025-02-04 19:45:31 +0000 |
---|---|---|
committer | Andrew Carlotti <andrew.carlotti@arm.com> | 2025-02-11 17:59:12 +0000 |
commit | 00d943bf840386bd6e3e8a04554df5b528722e46 (patch) | |
tree | 8925443d4a794ece87a32de6ed7696e6e4dcc1b0 /libgo/go | |
parent | 9a2116f91150cf872e7d4a66036a81ecd2526b48 (diff) | |
download | gcc-00d943bf840386bd6e3e8a04554df5b528722e46.zip gcc-00d943bf840386bd6e3e8a04554df5b528722e46.tar.gz gcc-00d943bf840386bd6e3e8a04554df5b528722e46.tar.bz2 |
testsuite: Enable reduced parallel batch sizes
Various aarch64 tests attempt to reduce the batch size for parallel test
execution to a single test per batch, but it looks like the necessary
changes to gcc_parallel_test_run_p were accidentally omitted when the
aarch64-*-acle-asm.exp files were merged. This patch corrects that
omission.
This does have a measurable performance impact when running a limited
number of tests. For example, in aarch64-sve-acle-asm.exp the use of
torture options results in 16 compiler executions for each test; when
running two such tests I observed a total test duration of 3m39 without
this patch, and 1m55 with the patch. A full batch of 10 tests would
have taken over 15 minutes to run on this machine.
gcc/testsuite/ChangeLog:
* lib/gcc-defs.exp
(gcc_runtest_parallelize_limit_minor): New global variable.
(gcc_parallel_test_run_p): Use new variable for batch size.
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions