Skip to content

Commit

Permalink
Test with buffer size=16
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Feb 19, 2024
1 parent 811e952 commit 2c85114
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2c85114

Please sign in to comment.