Chronicle Map 3.9.1 Performance Improvements

159 views
Skip to first unread message

Roman Leventov

unread,
Jul 18, 2016, 7:19:35 AM7/18/16
to java-ch...@googlegroups.com
In Chronicle Map 3.9.1 performance was improved significantly, especially of ChronicleMap.get() and getUsing() methods. Improvements are achieved not by updating Chronicle Map's off-heap structure, it wasn't changed at all. Improvements are achieved by doing less unnecessary "Java on-heap work" around the off-heap data structure.

Here are benchmark results of running successful map.get() on a Map with IntValue key and IntValue (i. e. with minimum possible key and value serialization/deserialization costs):

# of keys   avg time of map.get(), ns/op
in a map    Chronicle Map version
            3.9.1     3.9.0
100         85        535
10k         93        553
1m          208       676
100m        330       860

You could see that inherent map.get() latency reduced by ~ 450 ns.

Peter Lawrey

unread,
Jul 18, 2016, 7:31:52 AM7/18/16
to java-ch...@googlegroups.com
That's a fantastic improvement. Excellent.

--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Francesco Nigro

unread,
Jul 19, 2016, 4:37:22 AM7/19/16
to Chronicle
Awesome!
Reply all
Reply to author
Forward
0 new messages