java-benchmarks

Eclipse Collections Results

This page lists raw JSON outputs produced by the Eclipse Collections benchmark module and provides a combined viewer link.

Raw JSON files

View in JMH viewer

Open all in jmh.morethan.io

Common Data Structures Comparison (10M Operations)

Comparison between standard JDK and Eclipse Collections equivalents.

Quick Comparison

HashMap vs TreeMap vs ArrayList vs LinkedList
HashMap.get()      → -
TreeMap.get()      → -
ArrayList.get(i)   → -
LinkedList.get(i)  → -
Insertion (10M elements):
ArrayList.add()    → -
HashMap.put()      → -
LinkedList.add()   → -

Detailed Comparison Table

| Structure | Type | Insertion (10M) | Get (Random) | |—|—|—|—| | ArrayList | JDK | - | - | | MutableList (FastList) | EC | - | - | | HashMap | JDK | - | - | | MutableMap (UnifiedMap) | EC | - | - | | TreeMap | JDK | - | - | | TreeSortedMap | EC | - | - | | LinkedList | JDK | - | - |

Observations: