Home > Architecture, Design, Performance > Java Collections | Performance Benchmark

Java Collections | Performance Benchmark

Managing list or collection of objects is a very common scenario. In addition, managing that list effectively, that provides the optimum performance is also a very common need. The Java programming language offers many in-built data types for representing and modeling collection of objects. Some of the commonly used data types are:





Each of the data types behave differently under different scenarios. In addition, when writing algorithms that demonstrate highest levels of performance it is necessary to make the right choice. For many developers and architects it is not an easy choice.

This document provides details of a comparison done across various data-types supported by Java Collections Framework. In addition, it will study their performance under different circumstances.

Final complete analysis in the java-collections-performance-evaluation document.  Dowload PDF.

About these ads
  1. Eugene
    23 October, 2008 at 7:36 am | #1

    looking forward for more information about this. thanks for sharing. Eugene

  2. 24 October, 2008 at 10:19 am | #2

    Hi Eugene,

    I am not planning to add any more content on this piece anytime soon. If there is anything specific that i can add to it, please share your thought. I can work on those.

  3. Tomáš Homola
    16 July, 2009 at 2:47 am | #3

    Hello I was looking around about Java Collection performance. And I realy apreciate it. Do you think about to extend it for another operation such as remove, get(index), get(object), insert to some position or contains(object)? Let me know if you do will or if there is any way how to help you… thanks a lot nice work.


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: