• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing Collections

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I am trying to implement a benchmark or an application to test collections in Java. Now, i don't know where to start.

Is there good places to look to give me some ideas before i start?

Thank you
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is your goal?
 
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I googled: java benchmark collection map list

I found a number of collection frameworks that claim to be faster than the standard Java collections framework. To prove this they must have written performance tests. Here is the comparison between "GNU Trove" collections and java collections. Being as they are open source it wouldn't be hard to get their code that does the comparison.

http://trove4j.sourceforge.net/performance.shtml
[ January 17, 2006: Message edited by: steve souza ]
 
Alex Teslin
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My goal is to create a program such as a profiler that will load a programmer's code, and to test several collections for a particular code where programmer is trying to use one and based on that result, which is fastest, give a choice to a programmer.

I know this sounds very vague, but that is the short explanation.

Thank you
 
reply
    Bookmark Topic Watch Topic
  • New Topic