In this post, we're going to discuss a couple of recent efforts to squeeze roughly 10% in terms of speed out of jOOQ by iterating on hotspots that were detected using JMC (Java Mission Control) and then validated using JMH (Java Microbenchmark Harness). This post shows how to apply micro optimisations to algorithms where the … Continue reading Squeezing Another 10% Speed Increase out of jOOQ using JMC and JMH
Tag: JMH
Benchmarking JDK String.replace() vs Apache Commons StringUtils.replace()
What's better? Using the JDK's String.replace() or something like Apache Commons Lang's Apache Commons Lang's StringUtils.replace()? In this article, I'll compare the two, first in a profiling session using Java Mission Control (JMC), then in a benchmark using JMH, and we'll see that Java 9 heavily improved things in this area. Profiling using JMC In … Continue reading Benchmarking JDK String.replace() vs Apache Commons StringUtils.replace()