How to use JMH when not using Maven
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Aug 5 12:27:27 PDT 2013
Hi Richard,
On 08/05/2013 11:20 PM, Richard Bair wrote:
> Are there any documents to describe the process?
Nope. Up to this point, we considered the Maven bindings as the part of
our internal API. Time for a change!
> How do I prepare the benchmarks to be in a form that jmh can then
> execute?
Since we are generating the synthetic code, you generally need to "just"
compile the benchmarks with the JMH's annotation processor on board, and
then pack all the classes and resources into the JAR with the JMH
Main-Class.
-Aleksey.
More information about the jmh-dev
mailing list