diff options
author | John Reck <jreck@google.com> | 2016-11-15 09:24:36 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-11-17 09:03:31 -0800 |
commit | 24e98b7667da2ba7718e111c4b6d5d739e67e4f4 (patch) | |
tree | b3334d24ac77c64fad251dac52b022a8058a40da /apct-tests/perftests/utils | |
parent | ceb9ec6dbfb5bd26aad1280e9aeb28ca17b8fcf8 (diff) |
Add more complex View inflation bench
Test: ran ViewPerfTest#testTwelveKeyInflate
Change-Id: I644e1f77fa1108dcd2d54216d1e740b112a2e21b
Diffstat (limited to 'apct-tests/perftests/utils')
-rw-r--r-- | apct-tests/perftests/utils/src/android/perftests/utils/BenchmarkState.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apct-tests/perftests/utils/src/android/perftests/utils/BenchmarkState.java b/apct-tests/perftests/utils/src/android/perftests/utils/BenchmarkState.java index fd393e9d070c..bb9dc4ae562e 100644 --- a/apct-tests/perftests/utils/src/android/perftests/utils/BenchmarkState.java +++ b/apct-tests/perftests/utils/src/android/perftests/utils/BenchmarkState.java @@ -63,7 +63,7 @@ public final class BenchmarkState { // TODO: Tune these values. private static final long TARGET_TEST_DURATION_NS = ms2ns(500); // target testing for 500 ms private static final int MAX_TEST_ITERATIONS = 1000000; - private static final int MIN_TEST_ITERATIONS = 100; + private static final int MIN_TEST_ITERATIONS = 10; private static final int REPEAT_COUNT = 5; private long mStartTimeNs = 0; // Previously captured System.nanoTime(). |