[jdom-interest] JDOM Performance

Dennis Sosnoski dms at sosnoski.com
Thu Jun 5 12:56:29 PDT 2003

Yup, that's out of date. The results actually haven't changed by a lot 
since then, though I think JDOM has improved on speed. I ran a recent 
set of tests using updated code, but found out afterward that I need to 
enable an option so JDOM will reuse the same parser rather than 
constructing a new one for each document. I'll try again soon with this 
option enabled. It looks like JDOM is now close to dom4j on speed, 
though still about 20-25% bulkier in memory usage for my tests.

  - Dennis

Kevin.Bedell at sunlife.com wrote:

>Has anyone seen this study?
>        http://www.sosnoski.com/opensrc/xmlbench/index.html
>It compares Java XML processing models for DOM, JDOM, DOM4J and a number of
>XML api's. It compares performance in terms of memory utilization, parsing
>performance, etc. It's a great analysis.
>Only problem is it's a couple years old and discusses Jdom b7
>Can anyone comment on improvements to JDOM processing for processing speed
>or memory utilization since then?
>This e-mail message (including attachments, if any) is intended for the use
>of the individual or entity to which it is addressed and may contain
>information that is privileged, proprietary , confidential and exempt from
>disclosure.  If you are not the intended recipient, you are notified that
>any dissemination, distribution or copying of this communication is
>strictly prohibited.  If you have received this communication in error,
>please notify the sender and erase this e-mail message immediately.
>To control your jdom-interest membership:

More information about the jdom-interest mailing list