3d-bin-container-packing icon indicating copy to clipboard operation
3d-bin-container-packing copied to clipboard

JMH + gradle

Open tyrcho opened this issue 2 years ago • 1 comments

tyrcho avatar Jun 17 '22 16:06 tyrcho

Hi @skjolber

This is a rough PR before the WE with my major JMH use cases. I had to use gradle instead of maven for a simpler plugin usage.

Run with gradle, from the root of the project

gradle jmh2:jmh

It generates a file in jmh2/build/results/jmh/results.json which we should be able to compare with JMH Visualiser.

This is how we publish the JMH diff report based on the JSON file with Gitlab, it should be easy to adapt on Github (but I've never used Github Actions so I let you have a look)

https://gitlab.com/colisweb-idl/colisweb-open-source/ci-common/-/merge_requests/25/diffs

tyrcho avatar Jun 17 '22 16:06 tyrcho