November 2017
Intermediate to advanced
398 pages
10h 14m
English
The JMH can be easily used to add various tests within the code. This means that there is no additional overhead and the actual code does not need to be repeated in a separate, standalone project. The JMH tools used are easily separated from the final code using the test scope, which is available for creating a buffer between tools and the application code.
Each JMH functionality requires the use of dependencies. These dependencies are essential for providing the functionality that most microbenchmarks will require in order to produce the required results.
It is easy to create a harness that you can use with multiple Java projects. These harnesses may contain typical microbenchmark tests, which you attempt ...