mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
benchmark: more warmup iterations
This commit is contained in:
parent
592eda73a6
commit
60ca1275b5
@ -41,7 +41,11 @@ import java.util.concurrent.TimeUnit;
|
||||
// - "More warmup/measurement iterations are generally required."
|
||||
// - "Timers overhead might be significant if benchmarks are small;"
|
||||
@BenchmarkMode(Mode.SingleShotTime)
|
||||
@Warmup(iterations = 12)
|
||||
// During warmup iterations for ASCENDING_RUNS (with TIM_SORT and FASTER_FINN_SORT):
|
||||
// - Until the 17th spike of up to +750% (Maybe JVM optimizations happening?)
|
||||
// - After 40th constant slowdown of around +10% (Maybe CPU frequency adjustments?)
|
||||
// Thus, we need at least ~50 warmup iterations!
|
||||
@Warmup(iterations = 50)
|
||||
@Measurement(iterations = 6)
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user