jsr354-ri
jsr354-ri copied to clipboard
Benchmark with JMH
I saw the org.javamoney.moneta.PerformanceTest and actually I can rewrite it with JMH and extend. Maybe we already have some benchmark?
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.