commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@btopenworld.com
Subject RE: [collections] Map performance results
Date Tue, 21 Jan 2003 18:16:23 GMT
Yes, I did mean the -server flag. And otherwise, exactly the same code was run.

Stephen

>  from:    "Shapira, Yoav" <Yoav.Shapira@mpi.com>
> Thanks for carrying out all these tests ;)  Just to clarify one thing:
> when you say "Server VM", you mean the -server switch to the JVM?
> Otherwise, server and client VM in your tests use the same arguments?
> 
> Thanks,
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-----Original Message-----
> >From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
> >Sent: Monday, January 20, 2003 7:34 PM
> >To: Jakarta Commons Developers List
> >Subject: [collections] Map performance results
> >
> >I have been performing some tests on various Map implementations.
> >For general info, here is the code and my results.
> >
> >times are millis per 10,000,000 loops, each of 3
> map.get(stringConstant)
> >single user, single thread
> >Sun JDK 1.4.1_01
> >Windows 98
> >
> >HashMap
> >Client VM: 3950
> >Server VM: 2360
> >
> >TreeMap:
> >Client VM: 7250
> >Server VM: 3130
> >
> >LinkedHashMap: (1.4)
> >Client VM: 4830
> >Server VM: 3070
> >
> >Unmodifiable wrapped HashMap:
> >Client VM: 4450
> >Server VM: 2530
> >
> >Synchronized wrapped HashMap:
> >Client VM: 4390
> >Server VM: 2580
> >
> >FastHashMap:
> >Client VM: 7250
> >Server VM: 3130
> >
> >SequencedHashMap:
> >Client VM: 4940
> >Server VM: 2690
> >
> >StaticBucketMap:
> >Client VM: 6200
> >Server VM: 4670
> >
> >DoubleOrderedMap:
> >Client VM: 8350
> >Server VM: 2960
> >
> >Stephen
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message