JMH
-
Core Java

The Lies Your Microbenchmarks Tell You: A JMH Field Guide for Backend Engineers
JMH is powerful, but deceptively easy to misuse. Here are the five pitfalls that silently corrupt your results — and…
Read More » -
Core Java

Java Performance 2 * i * i Multiplication : 2 * (i * i) Faster Than 2 * i * i
When optimizing code, even small differences in expression syntax can impact performance. One such example is the difference between 2…
Read More » -
Core Java

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…
Read More »
