OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XML Performance in a Transacation

[ Lists Home | Date Index | Thread Index ]

> my observations - for small messages and documents it all seems to be 
> fast enough (haven't had any performance issues to cause me 
> to measure it).

One thing I discovered (or rather, which Wolfgang Hoschek pointed out to me)
is that if you are parsing lots of small documents you can get a big saving
by reusing the XML parser rather than instantiating a new one for each
parse. This might be parser-specific, but certainly for Xerces there seems
to be a big initialisation cost.

It's often small details like this that make the difference between lousy
performance and brilliant performance. The only problem is discovering the
bottleneck!

Michael Kay
http://www.saxonica.com/






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS