How to use JMH when not using Maven

Richard Bair richard.bair at oracle.com
Mon Aug 5 12:20:57 PDT 2013


Hi,

In OpenJFX we use Gradle as our build system, not Maven. I'm looking at integrating jmh into our build system so that we can write some microbenchmarks (and some milli benchmarks and FPS benchmarks for GUI applications). To start with, I've written a very simple benchmark to test String switch feature of JDK 7. However I don't know how run this benchmark without using Maven.

Are there any documents to describe the process? How do I prepare the benchmarks to be in a form that jmh can then execute?

Thanks
Richard


More information about the jmh-dev mailing list