summaryrefslogtreecommitdiff
path: root/test/968-default-partial-compile-gen/util-src/generate_java.py
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2022-10-19 17:33:53 +0100
committer David Srbecky <dsrbecky@google.com> 2022-10-20 14:05:38 +0000
commit5974a7b2441b9b5817172ff8b805195726805ed6 (patch)
tree10d527e1ad4520a276dafe28fcd02db78bff6830 /test/968-default-partial-compile-gen/util-src/generate_java.py
parenta700a7516982c7f059e098933592cd7358c190bf (diff)
Reduce multithreading of run-test builds.
The build system will build many shards in parallel, so try to use just one core per shard in that situation to lower the system load. However, at the same time, try to use all the cores if we are just iterating on single test, and thus build only one shard at a time. I tested that the build time of both uses is same as before, while reducing the number processes executed in parallel. Test: time m art-run-test-{jvm,host,target}-data Test: time m art-run-test-{jvm,host,target}-data-shard00 Change-Id: I9e656d9980feeb5a0acbc91ae37162461a920f5f
Diffstat (limited to 'test/968-default-partial-compile-gen/util-src/generate_java.py')
0 files changed, 0 insertions, 0 deletions