You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: benchmarks/src/main/java/org/elasticsearch/benchmark/common/util/concurrent/ThreadPoolUtilizationBenchmark.java
+4-13Lines changed: 4 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -29,20 +29,20 @@
29
29
30
30
@Threads(Threads.MAX)
31
31
@Warmup(iterations = 3, time = 200, timeUnit = TimeUnit.MILLISECONDS)
32
-
@Measurement(iterations = 5, time = 600, timeUnit = TimeUnit.MILLISECONDS)
32
+
@Measurement(iterations = 1, time = 60, timeUnit = TimeUnit.SECONDS)
33
33
@BenchmarkMode(Mode.SampleTime)
34
34
@OutputTimeUnit(TimeUnit.MICROSECONDS)
35
35
@State(Scope.Benchmark)
36
36
@Fork(1)
37
37
publicclassThreadPoolUtilizationBenchmark {
38
38
39
-
@Param({ "1000" })
39
+
@Param({ "10000" })
40
40
privateintcallIntervalTicks;
41
41
42
42
/**
43
43
* This makes very little difference, all the overhead is in the synchronization
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/common/util/concurrent/TaskExecutionTimeTrackingEsThreadPoolExecutor.java
+21-40Lines changed: 21 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -260,13 +260,12 @@ public boolean trackingMaxQueueLatency() {
260
260
* Can be extended to remember multiple past frames.
0 commit comments