For StackOverflow question Most efficient way to increment a Map value in Java.
Compared libraries:
- JDK (
HashMap
) - Eclipse Collections
- fastutil
- HPPC
- HPPC-RT
- Koloboke implementation library
- Koloboke Compile
- Trove
Build & run:
$ gradle jmh
Results on Intel i7-2600 @ 3.40GHz, Java 9 build 120: jmh-results.txt, interactive results, static plot results: