Hi,
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:[EMAIL PROTECTED]]
>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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to