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

From
Michael Kay <>
To
'Rick Marshall' <>,
Date
2006-03-23T11:09:04
Thread
RE: [xml-dev] XML Performance in a Transacation
> 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/