v1.5 dtrace profiler

This commit is contained in:
Shautvast 2023-08-28 21:27:59 +02:00
parent c7d9a7ba96
commit 720f0f07a8
2 changed files with 1144 additions and 101 deletions

1236
log

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,7 @@
package com.github.shautvast.benchmarks.loops;
import org.openjdk.jmh.annotations.*;
import org.openjdk.jmh.profile.AsyncProfiler;
import org.openjdk.jmh.profile.LinuxPerfAsmProfiler;
import org.openjdk.jmh.profile.Profiler;
import org.openjdk.jmh.profile.ProfilerException;
import org.openjdk.jmh.profile.*;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
@ -69,7 +66,7 @@ public class LoopBenchmark {
.forks(1)
.mode(Mode.AverageTime)
.timeUnit(TimeUnit.NANOSECONDS)
.addProfiler(LinuxPerfAsmProfiler.class)
.addProfiler(DTraceAsmProfiler.class)
.build();
new Runner(opt).run();