diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 4c3a1aae837..4315677955d 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -71,7 +71,7 @@ versions += [ jetty: "9.4.39.v20210325", jersey: "2.34", jline: "3.12.1", - jmh: "1.27", + jmh: "1.32", hamcrest: "2.2", log4j: "1.2.17", scalaLogging: "3.9.3", diff --git a/jmh-benchmarks/README.md b/jmh-benchmarks/README.md index 6993f3b2c9c..50db0589501 100644 --- a/jmh-benchmarks/README.md +++ b/jmh-benchmarks/README.md @@ -45,6 +45,11 @@ With flame graph output (the semicolon is escaped to ensure it is not treated as ./jmh-benchmarks/jmh.sh -prof async:libPath=/path/to/libasyncProfiler.so\;output=flamegraph +Simultaneous cpu, allocation and lock profiling with async profiler 2.0 and jfr output (the semicolon is +escaped to ensure it is not treated as a command separator): + + ./jmh-benchmarks/jmh.sh -prof async:libPath=/path/to/libasyncProfiler.so\;output=jfr\;alloc\;lock LRUCacheBenchmark + A number of arguments can be passed to configure async profiler, run the following for a description: ./jmh-benchmarks/jmh.sh -prof async:help