Reputation: 2055
I don't understand the score attribute from the JMH results? I don't find anything on the web about it, too.
Can anyone tell me, what it is about? As far as I understand is a higher score better than a lower, but what does it exactly mean and how is it calculated?
Upvotes: 37
Views: 8679
Reputation: 981
JMH supports the following Benchmark modes:
Now you can analyse if higher score is better or not.
The default benchmark mode is (Throughput) 1 and in this case higher value is better.
If you are interested how exactly each benchmark result is calculated check here.
Upvotes: 29