mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Tweak TSDBDocValuesMergeBenchmark (#126825)
to use benchmark mode single shot time. Which makes more sense for benchmarking force merge. The sample time mode would invoke the benchmark methods many times, which in case of force merge is a noop.
This commit is contained in:
parent
050ac273a1
commit
0033de9ab3
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@BenchmarkMode(Mode.SampleTime)
|
@BenchmarkMode(Mode.SingleShotTime)
|
||||||
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||||
@State(Scope.Benchmark)
|
@State(Scope.Benchmark)
|
||||||
@Fork(1)
|
@Fork(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue