JMH extension for GraalVM native image
Galder Zamarreno
galder at redhat.com
Mon Feb 10 10:10:15 UTC 2025
Hi all,
I see there have been previous questions about JMH and GraalVM native
image, e.g. Jonas Konrad in [1], so I thought I'd share this with the list
in case there are others interested in this integration.
I was at FOSDEM 2025 recently where I gave a talk titled "Unpick
performance mysteries benchmarking GraalVM native executables". You can
find the slides and video recording in [2]
It centers around [3], a prototype JMH extension I've created to benchmark
Java code running as GraalVM native image. Not all of JMH features are
supported yet, e.g. CompilerControl annotations, but Blackhole API support
is already in there. You can benchmark code with Mandrel, GraalVM Community
Edition and Oracle GraalVM.
Name and package are temporary, so no releases have been made yet. This
means that you have to build it locally to try it out.
Thanks
Galder
[1] https://mail.openjdk.org/pipermail/jmh-dev/2023-September/003790.html
[2]
https://fosdem.org/2025/schedule/event/fosdem-2025-5335-unpick-performance-mysteries-benchmarking-graalvm-native-executables
[3] https://github.com/galderz/fibula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jmh-dev/attachments/20250210/1e4a8ba0/attachment.htm>
More information about the jmh-dev
mailing list