JMH Template (Without Maven)
- Get core and annotation processing JMH jar (use
make fetchpom
). - Add them to your classpath: in your IDE, or move them to
deps/jar
if using the Makefile. - Make sure annotation processing is enabled in your IDE (it is by default when using the command line).
- Write your benchmarks.
- Run your benchmarks.
- Profit?
Useful reference: