jsr354-ri icon indicating copy to clipboard operation
jsr354-ri copied to clipboard

Benchmark with JMH

Open stokito opened this issue 6 years ago • 1 comments

I saw the org.javamoney.moneta.PerformanceTest and actually I can rewrite it with JMH and extend. Maybe we already have some benchmark?

stokito avatar Dec 29 '18 21:12 stokito

I thought the same thing. I found that it's in general easier to put JMH benchmarks in a dedicated Maven submodule instead of fitting them into an existing one.

I haven't profiled org.javamoney.moneta.PerformanceTest yet but I would not be surprised int the rounding tests spend most of their time in Monetary.getDefaultRounding() rather than in rounding.

marschall avatar Dec 30 '18 12:12 marschall