jmh-gradle-plugin icon indicating copy to clipboard operation
jmh-gradle-plugin copied to clipboard

JMH Gradle - Unable to run the benchmark in eclipse

Open dinesh4747 opened this issue 7 years ago • 2 comments

Hi Team,

I am trying to set up a JMH Annotations for couple of Junit test cases in gradle build environment

While I could able to add the dependencies using below dependency i couldn't run the JMH test for some strange reason

Is there any specific configuration we need to follow for gradle project for running JMH tests (Since its works pretty straight forwards in terms of maven project), I am just running the test with below dependency

compile("org.openjdk.jmh:jmh-core:1.19") compile("org.openjdk.jmh:jmh-generator-annprocess:1.19")

Kindly let me know if you require any further information regarding the same

dinesh4747 avatar Jan 18 '18 15:01 dinesh4747

Can someone please help me here @melix

dinesh4747 avatar Feb 08 '18 09:02 dinesh4747

@dinesh4747 alternatively try this example: https://github.com/skjolber/java-jwt-benchmark. I'm able to run the jmh gradle task in Eclipse.

skjolber avatar May 30 '18 22:05 skjolber