There were a couple of problems
JMHSample_02_BenchmarkModes class was incorrectly named java class- build.gradle missing
apply plugin: "me.champeau.gradle.jmh"ad - In the
jmhJarsection Main-Class, the manifest entry has been redefined (which is optional)
I did PR with corrections above. After applying it, you can run performance tests with
java -jar build/libs/JMH-Studies-jmh.jar
source
share