Skip to content

Commit efa48b4

Browse files
committed
Use average instead of sample
1 parent 3d66e86 commit efa48b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/common/util/concurrent/ThreadPoolUtilizationBenchmark.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
@Threads(12)
3131
@Warmup(iterations = 3, time = 200, timeUnit = TimeUnit.MILLISECONDS)
3232
@Measurement(iterations = 5, time = 600, timeUnit = TimeUnit.MILLISECONDS)
33-
@BenchmarkMode(Mode.SampleTime)
33+
@BenchmarkMode(Mode.AverageTime)
3434
@OutputTimeUnit(TimeUnit.MICROSECONDS)
3535
@State(Scope.Benchmark)
3636
@Fork(1)
3737
public class ThreadPoolUtilizationBenchmark {
3838

39-
@Param({ "0", "100", "1000" })
39+
@Param({ "0", "10000", "100000" })
4040
private int callIntervalTicks;
4141

4242
/**

0 commit comments

Comments
 (0)