diff options
author | Igor Murashkin <iam@google.com> | 2018-03-07 17:02:51 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2018-03-08 13:37:37 -0800 |
commit | 88c68094eec056610208891c237dc074f138b276 (patch) | |
tree | 24ded2faaf0784c3ac4c88293ab21edebcd1f58b /compiler/optimizing/code_generator_mips.h | |
parent | 34e992e481044a4a87c30fac368673f63fdacf9e (diff) |
test: Cache repeated soong invocations of get_build_var
This speeds up testing considerably since every call into soong was
taking 10-40s and this had to be done for every run-test to query
the javac libcore bootclasspath.
Now it should only call into soong dumpvars once total.
Also speeds up 674-hiddenapi testrunner time by 2x.
Bug: 74196452
Test: time art/test/testrunner/testrunner.py --host --jit --64 -t 674-hiddenapi
Test: art/test/testrunner/testrunner.py --host
Test: # manual check soong isnt taking all the CPU while running above.
Test: art/test/run-test --host 004-JniTest # or any test really.
Test: art/test/testrunner/run_build_test_target.py art-test
Change-Id: I32f9247db76cfd61993b8f6ea1f0fffa1322a2c5
Diffstat (limited to 'compiler/optimizing/code_generator_mips.h')
0 files changed, 0 insertions, 0 deletions