Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ public void tearDown() {
@Benchmark
@Group("threads1")
@GroupThreads(1)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_SingleThread(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand All @@ -123,9 +123,9 @@ public void record_SingleThread(BenchmarkState benchmarkState) {
@Benchmark
@Group("threads" + MAX_THREADS)
@GroupThreads(MAX_THREADS)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_MultipleThreads(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static class BenchmarkState {

@Param AggregationTemporality aggregationTemporality;

@Param({"1", "100"})
@Param({"1", "128"})
int cardinality;

// The following parameters are excluded from the benchmark to reduce combinatorial explosion
Expand Down Expand Up @@ -187,9 +187,9 @@ public void tearDown() {
@Benchmark
@Group("threads1")
@GroupThreads(1)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_SingleThread(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand All @@ -198,9 +198,9 @@ public void record_SingleThread(BenchmarkState benchmarkState) {
@Benchmark
@Group("threads" + MAX_THREADS)
@GroupThreads(MAX_THREADS)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_MultipleThreads(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ public void tearDown() {
@Benchmark
@Group("threads1")
@GroupThreads(1)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_SingleThread(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand All @@ -134,9 +134,9 @@ public void record_SingleThread(BenchmarkState benchmarkState) {
@Benchmark
@Group("threads" + MAX_THREADS)
@GroupThreads(MAX_THREADS)
@Fork(1)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(3)
@Warmup(iterations = 3, time = 1)
@Measurement(iterations = 10, time = 1)
@OperationsPerInvocation(RECORDS_PER_INVOCATION)
public void record_MultipleThreads(BenchmarkState benchmarkState) {
record(benchmarkState);
Expand Down
Loading