Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JMH dependencies #629

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Fix JMH dependencies #629

merged 2 commits into from
Oct 24, 2022

Conversation

carterkozak
Copy link
Contributor

==COMMIT_MSG==
Fix JMH dependencies
==COMMIT_MSG==

Comment on lines -14 to +15
annotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess'
compileOnly 'org.openjdk.jmh:jmh-generator-annprocess'
testAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess'
testCompileOnly 'org.openjdk.jmh:jmh-generator-annprocess'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The benchmark lives in src/test/java

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe separate, but should we move them to src/jmh/java use use jmh-gradle-plugin?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree that would be cleaner, I've had some dependency issues with the gradle plugin that are probably solved or irrelevant at this point -- I usually create a separate module instead, but either way would be an improvement over reusing test sources.

Copy link
Contributor

@schlosna schlosna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as this is strictly an improvement, though wondering if we should move the benchmark

@bulldozer-bot bulldozer-bot bot merged commit 4844f5f into develop Oct 24, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/jmh_dependencies branch October 24, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants