Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Prepare release #99

Merged
merged 5 commits into from
Oct 4, 2018
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 @@ -17,14 +17,14 @@ public class BenchmarkSettings {

private static final int N_THREADS = Runtime.getRuntime().availableProcessors();
private static final int CONCURRENCY = 16;
private static final Duration EXECUTION_TASK_DURATION = Duration.ofSeconds(120);
private static final Duration EXECUTION_TASK_DURATION = Duration.ofSeconds(360);
private static final Duration EXECUTION_TASK_INTERVAL = Duration.ZERO;
private static final Duration MIN_INTERVAL = Duration.ofMillis(100);
private static final Duration REPORTER_INTERVAL = Duration.ofSeconds(3);
private static final TimeUnit DURATION_UNIT = TimeUnit.MILLISECONDS;
private static final TimeUnit RATE_UNIT = TimeUnit.SECONDS;
private static final long NUM_OF_ITERATIONS = Long.MAX_VALUE;
private static final Duration WARM_UP_DURATION = Duration.ofSeconds(20);
private static final Duration WARM_UP_DURATION = Duration.ofSeconds(45);
private static final Duration RAMP_UP_DURATION = Duration.ofSeconds(10);
private static final Duration RAMP_UP_INTERVAL = Duration.ofSeconds(1);
private static final boolean CONSOLE_REPORTER_ENABLED = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,12 @@ public BenchmarkMeter meter(String name) {
return new BenchmarkMeter() {
@Override
public void mark() {
if (enabled.get()) {
meter.mark();
}
meter.mark();
}

@Override
public void mark(long value) {
if (enabled.get()) {
meter.mark(value);
}
meter.mark(value);
}
};
}
Expand Down