Java Benchmarks with JMH
Useful benchmarking is hard, but there are tools and patterns to help
Published in
7 min readJun 10, 2020
Almost every developer knows the phrase “premature optimization is the root of all evil”, coined by Donald Knuth in 1974. But how are we supposed to know what is worthy of being optimized?
Our computing power improved manifold since then. But the sentiment to focus on the real…