Additional results to benchmark

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed May 18 22:08:25 UTC 2016


On 05/16/2016 06:40 PM, Jens Wilke wrote:
> On Monday 16 May 2016 17:30:16 Joel Moberg wrote:
>> I was unsure when thinking about using a profiler. Now I can follow your example. Thanks! 
>> This may be better because I can use it freely for any benchmark suite. With what I suggested 
>> I believe reuse is limited to extension classes.
> 
> You ware welcome!

Making a custom profiler is probably the cleanest way to get out of this.

> I think, there should be a standard way to add additional results. 

The trouble with "standard way" is that it leaks the significant details
about the results processing. Exposing this as standard API would tie up
any (bad) decisions we made there. So the answer is "no", unless there
is an overwhelming common case.

> BTW: first, I was misled by the @AuxCounters thing...

This is one example of "bad decisions".

Thanks,
-Aleksey




More information about the jmh-dev mailing list