Home » Benchmark

Tag Archives: Benchmark

JMH: How to setup and run a JMH benchmark

Health Warning! This post describes how to setup and run a simple JMH benchmark.  Micro benchmarks are notoriously difficult to get right and even when you do get them right (by using tools such as JMH) they can still be misleading. Just because your code runs in a certain way in an extremely isolated artificial situation does not mean it will run ...

Read More »