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

IGNITE-24435 Disable profiling by default for jmh task #5192

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

PakhomovAlexander
Copy link
Contributor

  • ./gradlew jmh now is running without profiling
  • ./gradlew jmh now is not cached and reruns everytime
  • -PjmhProfileAsync and -PjmhProfileJfr are added

https://issues.apache.org/jira/browse/IGNITE-24435

* `./gradlew jmh` now is running without profiling
* `./gradlew jmh` now is not cached and reruns everytime
* `-PjmhProfileAsync` and `-PjmhProfileJfr` are added

Output directory for the profiler results is `build/profiler`.

If you want to use another profiler, you can add it to `jmh` configuration in the `build.gradle` file:
Copy link
Contributor

Choose a reason for hiding this comment

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

How to enable a custom profiler via command line ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no way to do in via CMD if you use this 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.

I can mention this explicitly in DEVNOTES.md or try to find/write a workaround if it is important.

@PakhomovAlexander PakhomovAlexander merged commit 543616c into apache:main Feb 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants