Hi Nate,
On 21.04.24 20:00, Nate wrote:
> Hi Jo,
>
> You can base your own benchmarks on the JMH benchmarks in Kryo.
> Customize them with your own data structures and serialization settings.
> Run before and after tests to compare.
What's the easiest way to do the comparisons?
I (now, yay!) know how to run the JMH benchmarks, and where the results
live.
But I don't know how to look at the data, compare it with old data, and
spot what's interesting.
What's best - write code that translates the differences to percentages?
Graph everything and do visual comparison? Something else?
> It's not useful to compare benchmarks others have done on different
> hardware, even if the data is the same.
Definitely :-)
> For allocations, read up on JMH. Don't try to write benchmarks without JMH.
Ah. I didn't notice JMH has a GC profiler as well.
That's good.
Regards,
Jo