mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
benchmark: JMH config
This commit is contained in:
parent
5e2425bbca
commit
ddbf8c1174
@ -14,6 +14,7 @@ import org.openjdk.jmh.annotations.Param;
|
||||
import org.openjdk.jmh.annotations.Scope;
|
||||
import org.openjdk.jmh.annotations.Setup;
|
||||
import org.openjdk.jmh.annotations.State;
|
||||
import org.openjdk.jmh.annotations.Timeout;
|
||||
import org.openjdk.jmh.annotations.Warmup;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
@ -22,9 +23,10 @@ import java.util.concurrent.TimeUnit;
|
||||
/*
|
||||
* Benchmark parameters
|
||||
*/
|
||||
@Fork(value = 1, jvmArgsAppend = "-Xmx8g")
|
||||
@Fork(value = 1, jvmArgsAppend = {"-Xms8g", "-Xmx8g"})
|
||||
@Warmup(iterations = 1)
|
||||
@Measurement(iterations = 6)
|
||||
@Timeout(time = 15, timeUnit = TimeUnit.SECONDS)
|
||||
@BenchmarkMode(Mode.AverageTime)
|
||||
@OutputTimeUnit(TimeUnit.MILLISECONDS)
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user