OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: String interning

[ Lists Home | Date Index | Thread Index ]
  • From: Miles Sabin <msabin@cromwellmedia.co.uk>
  • To: David Megginson <david@megginson.com>, xml-dev@ic.ac.uk
  • Date: Fri, 14 Jan 2000 22:18:38 -0000

David Megginson wrote,
> Java2 on Linux.  Here's the code (uncomment or comment the 
> appropriate lines):

Which JIT? The last time I looked (admittedly quite a while
ago) TYA wasn't too quick.

> [snip: benchmark]

OK, I'll have to tweak this slightly: Hotspot needs a bit of
a run up.

> How do you run timings under Windows, by the way?

Sort of shelling out for various tools the best you can do is,

  long startTime = System.currentTimeMillis();
  // do stuff
  long endTime = System.currentTimeMillis();

I'll do this on NT over the w/e, and on Solaris Sparc when I
get back to work on Monday.



Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS