Mercurial > hg > gc-bench
changeset 27:b66d7f87cd46
Rated tests should take 5 steps, not 10.
author | shade |
---|---|
date | Thu, 01 Dec 2016 10:55:15 +0100 |
parents | 766b00b04b92 |
children | 2175102c5611 |
files | src/main/java/org/openjdk/gcbench/tests/DimensionalTest.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/org/openjdk/gcbench/tests/DimensionalTest.java Wed Nov 30 14:07:11 2016 +0100 +++ b/src/main/java/org/openjdk/gcbench/tests/DimensionalTest.java Thu Dec 01 10:55:15 2016 +0100 @@ -105,8 +105,9 @@ } if (rated) { + final int RATE_STEPS = 5; int maxRate = calibrateRate(builder.build()); - for (int rate = maxRate / 10; rate <= maxRate; rate += maxRate / 10) { + for (int rate = maxRate / RATE_STEPS; rate <= maxRate; rate += maxRate / RATE_STEPS) { Options opts = new OptionsBuilder() .parent(builder.build()) .param("rate", String.valueOf(rate))