IGNITE-24213 Add jmh gradle configuration and an example of usage#5175
IGNITE-24213 Add jmh gradle configuration and an example of usage#5175PakhomovAlexander merged 10 commits intoapache:mainfrom
Conversation
4efbf9d to
a5133aa
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
Looks like it not possible to run a benchmark multiple times w/o any code modifications Initial run (reduced the number of iterations to get the results a wee bit faster) But when I run the task again: |
do you think this is an issue? |
|
I would consider such behaviour counter-intuitive (At least I didn't expect that). It is possible to run tests multiple times using the same command w/o modifying any code. |
Generally it's how gradle works. It caches tasks and their results. To really re-run things in gradle you should use |
|
This plugin seems to be misconfigured (see melix/jmh-gradle-plugin#270), since gradle does not cache test runs, so it should not test benchmark runs. I think it would be better to fix configure this task to never cache the results. If that is not possible, the docs should be updated to show how to run this task w/o calling
|
https://issues.apache.org/jira/browse/IGNITE-24213