Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 49660 invoked from network); 21 Jan 2003 18:16:35 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 21 Jan 2003 18:16:35 -0000 Received: (qmail 10075 invoked by uid 97); 21 Jan 2003 18:17:57 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 10058 invoked by uid 97); 21 Jan 2003 18:17:56 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 10046 invoked by uid 98); 21 Jan 2003 18:17:56 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3200580.1043172983561.JavaMail.root@127.0.0.1> Date: Tue, 21 Jan 2003 18:16:23 +0000 (GMT) From: scolebourne@btopenworld.com To: commons-dev@jakarta.apache.org Subject: RE: [collections] Map performance results Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-MAILER: talk21.com WAS v2 X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N Yes, I did mean the -server flag. And otherwise, exactly the same code was run. Stephen > from: "Shapira, Yoav" > 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: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: