diff --git a/bench/bench-java/src/main/java/com/softwaremill/jox/BufferedBenchmark.java b/bench/bench-java/src/main/java/com/softwaremill/jox/BufferedBenchmark.java index 2b4bb4f..dfde643 100644 --- a/bench/bench-java/src/main/java/com/softwaremill/jox/BufferedBenchmark.java +++ b/bench/bench-java/src/main/java/com/softwaremill/jox/BufferedBenchmark.java @@ -15,7 +15,7 @@ @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class BufferedBenchmark { - @Param({"1", "10", "100"}) + @Param({"16", "100"}) public int capacity; // going against jmh's best practises, the benchmarks are "iterative" (not using groups), for two reasons: diff --git a/bench/bench-java/src/main/java/com/softwaremill/jox/ChainedBenchmark.java b/bench/bench-java/src/main/java/com/softwaremill/jox/ChainedBenchmark.java index f6f3c20..32c3b96 100644 --- a/bench/bench-java/src/main/java/com/softwaremill/jox/ChainedBenchmark.java +++ b/bench/bench-java/src/main/java/com/softwaremill/jox/ChainedBenchmark.java @@ -17,7 +17,7 @@ @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class ChainedBenchmark { - @Param({"0", "100"}) + @Param({"0", "16", "100"}) public int capacity; @Param({"10000"}) diff --git a/bench/bench-java/src/main/java/com/softwaremill/jox/ParallelBenchmark.java b/bench/bench-java/src/main/java/com/softwaremill/jox/ParallelBenchmark.java index 2d64180..09e7c04 100644 --- a/bench/bench-java/src/main/java/com/softwaremill/jox/ParallelBenchmark.java +++ b/bench/bench-java/src/main/java/com/softwaremill/jox/ParallelBenchmark.java @@ -18,7 +18,7 @@ @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class ParallelBenchmark { - @Param({"0", "100"}) + @Param({"0", "16", "100"}) public int capacity; @Param({"10000"}) diff --git a/bench/bench-kotlin/src/com/softwaremill/jox/BufferedKotlinBenchmark.kt b/bench/bench-kotlin/src/com/softwaremill/jox/BufferedKotlinBenchmark.kt index 205d6b9..f7cd763 100644 --- a/bench/bench-kotlin/src/com/softwaremill/jox/BufferedKotlinBenchmark.kt +++ b/bench/bench-kotlin/src/com/softwaremill/jox/BufferedKotlinBenchmark.kt @@ -16,7 +16,7 @@ import java.util.concurrent.TimeUnit @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) open class BufferedKotlinBenchmark { - @Param("1", "10", "100") + @Param("16", "100") var capacity: Int = 0 @Benchmark diff --git a/bench/bench-kotlin/src/com/softwaremill/jox/ChainedKotlinBenchmark.kt b/bench/bench-kotlin/src/com/softwaremill/jox/ChainedKotlinBenchmark.kt index ea626f8..2fe02ab 100644 --- a/bench/bench-kotlin/src/com/softwaremill/jox/ChainedKotlinBenchmark.kt +++ b/bench/bench-kotlin/src/com/softwaremill/jox/ChainedKotlinBenchmark.kt @@ -15,7 +15,7 @@ import java.util.concurrent.TimeUnit @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) open class ChainedKotlinBenchmark { - @Param("0", "100") + @Param("0", "16", "100") var capacity: Int = 0 @Param("10000") diff --git a/bench/bench-kotlin/src/com/softwaremill/jox/ParallelKotlinBenchmark.kt b/bench/bench-kotlin/src/com/softwaremill/jox/ParallelKotlinBenchmark.kt index 10385d1..0df189c 100644 --- a/bench/bench-kotlin/src/com/softwaremill/jox/ParallelKotlinBenchmark.kt +++ b/bench/bench-kotlin/src/com/softwaremill/jox/ParallelKotlinBenchmark.kt @@ -15,7 +15,7 @@ import java.util.concurrent.TimeUnit @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) open class ParallelKotlinBenchmark { - @Param("0", "100") + @Param("0", "16", "100") var capacity: Int = 0 @Param("10000")