-
Notifications
You must be signed in to change notification settings - Fork 146
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
JMH IntelliJ integration #11863
Comments
Or at least have a pattern for a command line call to execute only 1 JMH test |
The example in the description can be confusing. The button is there, because there is a Is there any good way to run a single test right now with a Gradle command? As far as I can see, the Gradle plugin does not offer something for that out of the box. I could add a parameter so that you can do:
Would that make sense? Then there is an IntelliJ plugin: https://plugins.jetbrains.com/plugin/7529-jmh-java-microbenchmark-harness I can prepare a PR to:
|
Please install the IntelliJ plugin and give this a try: #11865 |
IntelliJ has a play button for JMH tests:
![image](https://private-user-images.githubusercontent.com/20076809/309736822-b89aea19-7ee2-4154-bc4a-46ea75b379fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDgxOTMsIm5iZiI6MTczOTY0Nzg5MywicGF0aCI6Ii8yMDA3NjgwOS8zMDk3MzY4MjItYjg5YWVhMTktN2VlMi00MTU0LWJjNGEtNDZlYTc1YjM3OWZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE5MzEzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA1Nzg0YTYzMmVmZGEyMDcxYzc1ZGQ1MThjMzA5MGFjMzg5YjlhNzJmNDI1MThmOWJmODZlYjFhYjdkY2UwOGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CIUDHjU5nDLYSbGydhOfuktHvCcP947isaN-lh6Issw)
Unfortunately, when trying to run a JMH test this way, it will not run. This would be a useful feature to have.
The text was updated successfully, but these errors were encountered: