[jdom-interest] question about running speed

Gu Xueying (Shinnie Gu) Shinnie.Gu at iuniverse.com.cn
Wed Apr 10 00:28:09 PDT 2002

You mean that it is true that beta8 is slower than beta7?
ok. I just want to make it clear. 
Thank you very much.

Shinnie Gu
Tel:8621-58305001 Ext.8701

-----Original Message-----
From: Dennis Sosnoski [mailto:dms at sosnoski.com]
Sent: 2002Äê4ÔÂ10ÈÕ 15:03
To: Gu Xueying (Shinnie Gu)
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] question about running speed

I'll update the test results at 
http://www.sosnoski.com/opensrc/xmlbench/index.html later this month, 
but from what I've seen in running through the last test set again beta 
8 is generally about 10-30% slower on building the document 
representation than beta 7. The one exception was the document with 
heavy mixed content, which was actually about 20% faster with beta 8. 
Walking through the document representation is generally about twice as 
fast with the new list code, so at least that's a very nice gain.

It looks like memory usage has gone up substantially, though, and you're 
working with a large file. If you were near the limit before the change 
probably would have put you all the way into the thresh zone. Try 
increasing the JVM memory when you run your program (perhaps use "java 
-Xms128M -Xmx128M", assuming you've got at least 128M in your machine).

  - Dennis

Gu Xueying (Shinnie Gu) wrote:

>I'm a user of jdom. I have use jdom - b7 for more than 4 months.
>Now I want to update codes to jdom - b8. But when testing I find that jdom
>b8's speed is much lower than beta 7.
>If I run my program with jdom - b7 it just costs 2 minutes while with jdom
>b8 it costs even more than 15 minutes.
>I want to know why b8 slow so much. 
>(my program is to change a xml's structure with jdom and the size of the
>is about 2M).
>Any help is appreciate.
>To control your jdom-interest membership:

More information about the jdom-interest mailing list