On Wednesday, 03/03/2004 at 03:12 ZE2, [EMAIL PROTECTED] wrote:
> We have recently changed our usage of Xalan from supplying a
> DOMSource to SAXSource. Our performance tests show some improvement
> (10% or so) for XMLs that are around 40K in size (a couple of
> hundreds of tags and attributes) , but for a large XML (1.3MB, around
> 20K tags with no attributes) the performance of the DOMSource is
> about twice as fast.
That is surprising... unless you're doing something strange like using
SAXSource but feeding it from a DOM, so you're paying all the cost of first
building a DOM and then copying the whole tree into Xalan's data model.
How are you actually invoking the API?