[jdom-interest] In the 11th Hour

Brenner, Mike mikeb at mitre.org
Thu Mar 22 11:47:28 PDT 2012


Hi Rolf, 
	I hope you decide to take the time to post how you accomplished this,  to make us all better java programmers.

Thanks,
Mike Brenner

-----Original Message-----
From: jdom-interest-bounces at jdom.org [mailto:jdom-interest-bounces at jdom.org] On Behalf Of Rolf Lear
Sent: Thursday, March 22, 2012 2:21 PM
To: jdom-interest at jdom.org
Subject: Re: [jdom-interest] In the 11th Hour

On 22/03/2012 11:31 AM, Rolf Lear wrote:
> Hi all.
>
....

>
> The only current performance 'slip' is the time it takes to scan an
> entire document and report the Elements in it. This has slipped
> significantly from 2.3ms to 3.1ms. I have been investigating it, and it
> appears to be a function of the additional functionality in the
> DescendantIterator, and the type-safety of the code. I am still working
> on it though.
>

And that slip is now fixed, with JDOM 2.x now running in 1.7ms, better 
than 20% improvement over JDOM 1.x

So, in all benchmarked components, JDOM 2.x outperforms JDOM 1.x, and 
uses less memory.

Rolf
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list