The app for independent voices

I was wondering how to do the performance comparison on my own, and found a way

ozkanpakdil.github.io/j…

it also gives link to the code itself how it is tested. so eclipse collections are not far more faster, just personal note 🤓 feel free to correct me if I made any mistake on the code or the page.

How fast are common Java data structures (10M operations)?

HashMap vs TreeMap vs ArrayList vs LinkedList

HashMap.get() → ~140 ms

TreeMap.get() → ~420 ms

Dec 28
at
7:10 PM

Log in or sign up

Join the most interesting and insightful discussions.