JMH and AuxCounters

mehrez douaihy mehrez.douaihy at gmail.com
Fri Sep 9 08:29:43 UTC 2022


hello everyone,

I was writing a benchmark using JMH and needed to report a "rate" output.

To do so, I tried to use the AuxCounters (@AuxCounters(AuxCounters.Type.
EVENTS))
The problem is that JMH use the SUM aggregation policy for EVENTS,
resulting in my rates being summed, which is clearly not what I was
expecting.

Do you think that I could send a PR to enrich that behavior or I am not
using the tool as expected?

I am not sure this is the correct mailing list. please advise if it's not
the case.

Regards,
Mehrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jmh-dev/attachments/20220909/3101f37b/attachment.htm>


More information about the jmh-dev mailing list