Tags » JMH

Comparing performance of Collectors.summingLong and Collectors.counting

Benchmarks are run under intel core i5, Ubuntu

java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
… 1,026 more words

Java Unsafe APIs

Java Unsafe APIs provides various low-level APIs which could be used by programmers to do things related to:

  1. Off-Heap Memory Management
    • Off-Heap Memory Allocations
    • Reading and Putting of Integers, Long, Char, Short, Byte, Float, Double in Off-Heap Memory…
  2. 994 more words

Thursday Doors - Archive Books (a bibliophile's haven)

I was out in the city last week to do some Christmas shopping. And by “Christmas shopping” I mean that I had to buy one… 611 more words


Squeezing Another 10% Speed Increase out of jOOQ using JMC and JMH

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 ( 3,651 more words


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… 1,690 more words



Yell’O and welcome friends and soon to be friends. This here is State & Main OK and my name is Jenny Mae Harms. Yep that’s right, I go by two names, just stare at the picture to the left and think about the sounds of fiddles and banjos and you’ll be say’n it just about right.  161 more words