diff --git a/ddprof-stresstest/src/jmh/java/com/datadoghq/profiler/stresstest/scenarios/counters/ThreadFilterBenchmark.java b/ddprof-stresstest/src/jmh/java/com/datadoghq/profiler/stresstest/scenarios/counters/ThreadFilterBenchmark.java index 246cbd1dd..eab18e7ab 100644 --- a/ddprof-stresstest/src/jmh/java/com/datadoghq/profiler/stresstest/scenarios/counters/ThreadFilterBenchmark.java +++ b/ddprof-stresstest/src/jmh/java/com/datadoghq/profiler/stresstest/scenarios/counters/ThreadFilterBenchmark.java @@ -103,13 +103,6 @@ public void tearDown() { Thread.currentThread().interrupt(); } - // Stop the profiler if it's active - try { - profiler.stop(); - } catch (IllegalStateException e) { - System.out.println("Profiler was not active at teardown."); - } - long endTime = System.currentTimeMillis(); long totalOps = operationCount.get(); double durationSecs = (endTime - startTime) / 1000.0;