A JMH benchmark example to test different looping performance.
Project Link - https://www.mkyong.com/java/java-jmh-benchmark-tutorial/
$ git clone https://github.com/mkyong/jmh-benchmark
$ mvn package
$ java -jar target\benchmarks.jar BenchmarkLoop