JMH: What does the score value mean?

JMH supports the following Benchmark modes:

  • Throughput: operations per unit of time
  • AverageTime: average time per operation
  • SampleTime: samples the time for each operation
  • SingleShotTime: measures the time for a single operation

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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)