Possibility to run JMH benchmarks without JAR build by dfa1 · Pull Request #4057 · graphql-java/graphql-java
It is very handy to start a benchmark directly from within IntelliJ:

Without this configuration, I get the following error "Unable to find the resource: /META-INF/BenchmarkList"
@bbakerman @andimarek @dondonz
Ahh this is a gradle secret source. I too also got this (while @andimarek didnt on his IDEA) and I could never work out why I could not run JMHs in IDEA any more ( I used to be able to)
Thanks
@dfa1 @bbakerman @dondonz sorry, but I don't think this is the right change: i explicitly removed the jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.37' to make the setup work without having continuous build errors.
@dfa1 @bbakerman you have the jmh idea plugin installed? With it you should be able to run it without any main/other setup.
@andimarek hi, I tried with and without the JMH plugin. At work, we are using this setup with maven without any special plugin too and it works nicely with recent IDEA (2025.x)
I downloaded the JMH plugin, and got the same error as @dfa1 without this PR's change. When I checked out this PR, the problem went away
I didn't know about the build issue, let's check it out
I also have the JMH plugin installed and I cant run them. I also tried it without the JMH plugin and I cant run them via main() either
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters