GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Possibility to run JMH benchmarks without JAR build by dfa1 · Pull Request #4057 · graphql-java/graphql-java

Conversation

@dfa1

@dfa1 dfa1 commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

It is very handy to start a benchmark directly from within IntelliJ:
image

Without this configuration, I get the following error "Unable to find the resource: /META-INF/BenchmarkList"
@bbakerman @andimarek @dondonz

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dfa1
Possibility to run JMH benchmarks without JAR build
a970753
It is very handy to start a benchmark directly from
within IntelliJ.
@dondonz dondonz added this to the 25.x breaking changes milestone Jul 27, 2025
@dondonz

dondonz commented Jul 27, 2025

Copy link
Copy Markdown
Member

Thanks for reporting and fixing! Legend

dfa1 reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dondonz
dondonz merged commit b09381d into graphql-java:master Jul 27, 2025
@bbakerman

bbakerman commented Jul 28, 2025

Copy link
Copy Markdown
Member

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 reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andimarek

andimarek commented Jul 28, 2025

Copy link
Copy Markdown
Member

@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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dfa1

dfa1 commented Jul 29, 2025

Copy link
Copy Markdown
Contributor Author

@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)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dondonz

dondonz commented Jul 29, 2025

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bbakerman

bbakerman commented Jul 29, 2025

Copy link
Copy Markdown
Member

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dondonz dondonz mentioned this pull request Jul 31, 2025
Investigate JMH annotation error #4069
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

25.x breaking changes

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dfa1 @dondonz @bbakerman @andimarek
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.