Benchmarking and profiling Java code with JMH

In this post, we take a look at how to benchmark Java code