Performance testing with JMH Clojure & Java Microbenchmark Harness - Justin Conklin
Channel: London Clojurians
Date: 2020-07-29

Justin Conklin is the creator of the JMH-Clojure, a wrapper around Java Microbenchmark Harness for effective performance testing on the Java Virtual Machine.

https://github.com/jgpc42/jmh-clojure

Justin has been working in Clojure since 2010. He is passionate about performance and has been experimenting with JIT compilation techniques for dynamic languages and DSLs for a number of years. He is the creator of jmh-clojure, a data-oriented interface to JMH, the Java Microbenchmark Harness.

Performance measurement isn't as simple and obvious as you might think. There are many pitfalls that a practitioner must avoid while measuring performance for JVM hosted solutions. Considering the impact of the Garbage Collector, JIT compilation, Dead Code Elimination and all the other optimisation techniques while still obtaining repeatable measurements is very challenging. Thankfully, OpenJDK comes with a Java Microbenchmark Harness developed by JVM/JIT experts and goes to great lengths to ensure accurate benchmarks.
Justin will take us through some of the pitfalls of benchmarking and how to use his library.