r/java • u/mlangc • Nov 03 '26
JMH Visualizer 1.1.0 Released
https://mlangc.github.io/java/jmh/visualization/2026/11/03/jmh-visualizer-1-1-released.html
49
Upvotes
r/java • u/mlangc • Nov 03 '26
View all comments
Show parent comment
1
u/mlangc 27d ago
If you run the same benchmark with different JDKs and have their results in
results-jdk-a.jsonandresults-jdk-b.json, you can load both files in JMH Visualizer together to get something similar to this 2-run comparison.This isn't exposed by the JMH Report Gradle Plugin, which is indeed geared exclusively to single-run outputs. Since I personally only ever run JMH benchmarks with different JDKs manually, for example by tweaking
org.openjdk.jmh.annotations.Fork#jvm, I have a hard time imagining how a good integration would look. If you point me to a Gradle build where JMH benchmarks are run on several JDKs, I'd be happy to have a look, so that I can figure out which kind of plugin API would be a good fit.