xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierpaolo Fumagalli <p...@apache.org>
Subject Re: DOMParser performance metrics
Date Thu, 24 Feb 2000 01:11:50 GMT
"HERRICK, CHUCK (SBCSI)" wrote:
> 
> This is interesting. I started with DOMCount of XML4j v 3.0.0EA3,
> and built a little DOMTest routine that built a DOMParser, and then
> used that same parser in a series of parses of XML files. I grabbed
> the metrics of each pass, confining my time queries to just the
> parsing.
> 
> By the way, this uses the Xerces DOMParser, not the IBM Sample
> one.
> 
> --
> bash-2.02$ java DOMTest
> BusinessCard.xml: deltaT = 1111ms
> Name.xml: deltaT = 131ms
> Address.xml: deltaT = 20ms
> TelephoneNumber.xml: deltaT = 20ms
> --
> 
> Look at the performance gain after the second pass.
> 

I believe it's what engineers call JIT (just in time compiler!) :)
It's normal...

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<mailto:pier@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <http://www.apachecon.com> --------------------

Mime
View raw message