diff options
author | John Reck <jreck@google.com> | 2016-10-12 15:27:52 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-10-13 08:41:35 -0700 |
commit | 62e5fea8554aa61bbf691e8084b8ddd68e69c78e (patch) | |
tree | f80e58e2e5db5ec5b162aaf6cc0482bfb9da8219 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ccbc5c183067ae988f57725cfafda855bafa47ec (diff) |
Greatly reduce BenchmarkState overhead
CL reduces BenchmarkState to minimal levels. It also adds
a warmup loop to get things going first before starting measurements.
With this change with clocks /not/ locked on bullhead the test for
RenderNodeJniOverhead is showing a stable (0ns std dev) result
of 54ns, which is approximately the expected amount.
Test: Ran a few perf benchmarks
Change-Id: If01e455884711ebd9cfb89f076efa19dc0b5436d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions