Decrease time of running benchmarks

This commit is contained in:
Elena Lepilkina
2020-11-02 11:07:46 +03:00
committed by Stanislav Erokhin
parent 41f704a458
commit 86af222d9b
@@ -76,7 +76,7 @@ abstract class Launcher {
val benchmarkInstance = (benchmark as? BenchmarkEntryWithInit)?.ctor?.invoke()
logger.log("Warm up iterations for benchmark $name\n")
runBenchmark(benchmarkInstance, benchmark, numWarmIterations)
val expectedDuration = 2000L * 1_000_000 // 2s
val expectedDuration = 1000L * 1_000_000 // 1s
var autoEvaluatedNumberOfMeasureIteration = 1
if (benchmark.useAutoEvaluatedNumberOfMeasure) {
val time = runBenchmark(benchmarkInstance, benchmark, 1)