I've got some slightly out of date performance comparison results posted at http://www.sosnoski.com/opensrc/xmlbench/results.html. I didn't use DTDs in my performance tests, though that's one of the variables it'd be interested to add.

I found Xerces2 to generally be a lot faster for most small documents (say <1KB), while the original Xerces was a little faster on larger documents. If you're using DOM rather than SAX and you're working with small documents make sure you turn off deferred node expansion, though - this feature is on by default and really hurts performance for small documents.

 - Dennis

Anderson, John wrote:


Anecdotal only.

We switched to Xerces2 because we needed the extra functionality of grammar loading independent of the document (used to interfere with the document stream but that was way too ugly).

The loading performance of large DTDs is substantially slower and uses a heap more memory, to the extent that if we don't manually set the memory of our JVM at start up it will crash.

The second version of Xerces2 was a bit better.

John

-----Original Message-----
From: Rob Outar [ mailto:[EMAIL PROTECTED]
Sent: 22 May 2002 14:07
To: [EMAIL PROTECTED]
Subject: Performance Study


Hello,

We are currently using Xerces 1.4.3, we are considering upgrading to Xerces
2, but from what I have read Xerces 2 is more stable, but there is a
performance hit? Has anyone done a performance study comparing the two
parsers? or just a general performance study would be helpful as well.


        Let me know.

Thanks,

Rob


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

/The information transmitted by this e-mail message is intended solely for the use of the person to whom or entity to which it is addressed. The message may contain information that is privileged and confidential. Disclosure, dissemination, distribution, review, retransmission to, other use of or taking any action in reliance upon this information by anyone other than the intended recipient is prohibited. If you are not the intended recipient, please do not disseminate, distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail (including the original message with your reply) and then delete and discard all copies of the message./

/Although we have taken precautions to minimize the risk of transmitting viruses we nevertheless advise you to carry out your own virus checks on any attachment to this message. We accept no liability for any loss or damage caused by viruses./




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to