This repository was archived by the owner on Jun 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
benchmarks-api/src/main/java/io/scalecube/benchmarks Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ public class BenchmarkSettings {
17
17
18
18
private static final int N_THREADS = Runtime .getRuntime ().availableProcessors ();
19
19
private static final int CONCURRENCY = 16 ;
20
- private static final Duration EXECUTION_TASK_DURATION = Duration .ofSeconds (120 );
20
+ private static final Duration EXECUTION_TASK_DURATION = Duration .ofSeconds (360 );
21
21
private static final Duration EXECUTION_TASK_INTERVAL = Duration .ZERO ;
22
22
private static final Duration MIN_INTERVAL = Duration .ofMillis (100 );
23
23
private static final Duration REPORTER_INTERVAL = Duration .ofSeconds (3 );
24
24
private static final TimeUnit DURATION_UNIT = TimeUnit .MILLISECONDS ;
25
25
private static final TimeUnit RATE_UNIT = TimeUnit .SECONDS ;
26
26
private static final long NUM_OF_ITERATIONS = Long .MAX_VALUE ;
27
- private static final Duration WARM_UP_DURATION = Duration .ofSeconds (20 );
27
+ private static final Duration WARM_UP_DURATION = Duration .ofSeconds (45 );
28
28
private static final Duration RAMP_UP_DURATION = Duration .ofSeconds (10 );
29
29
private static final Duration RAMP_UP_INTERVAL = Duration .ofSeconds (1 );
30
30
private static final boolean CONSOLE_REPORTER_ENABLED = true ;
Original file line number Diff line number Diff line change @@ -52,16 +52,12 @@ public BenchmarkMeter meter(String name) {
52
52
return new BenchmarkMeter () {
53
53
@ Override
54
54
public void mark () {
55
- if (enabled .get ()) {
56
- meter .mark ();
57
- }
55
+ meter .mark ();
58
56
}
59
57
60
58
@ Override
61
59
public void mark (long value ) {
62
- if (enabled .get ()) {
63
- meter .mark (value );
64
- }
60
+ meter .mark (value );
65
61
}
66
62
};
67
63
}
You can’t perform that action at this time.
0 commit comments