You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Ry...@stpaul.com on 2002/08/28 16:03:14 UTC

Tag Size and Performance

Hello,

We are using Xalan, along with Xerces, to transform large XML documents.
We use SAX events instead of DOM to enhance performance.

We have everything working as we should, and now we're just looking at
optimizing some of our code.

Does the size of opening and closing tags affect Xalan performance?  For
example, will a thousand lines of:

<ThisIsARidiculouslyLongTag>value</ThisIsARidiculouslyLongTag>

Be transformed slower than a thousand lines of

<ShorterTag>value</ShorterTag>

Note I specified a large document.  We're transforming an XML document that
represents a financial report, which can potentially be very large.

Thanks!!

-Ryan





Re: Tag Size and Performance

Posted by Joseph Kesselman <ke...@us.ibm.com>.
Tag size will affect parsing and serialization performance to some degree. 
It shouldn't affect actual transformation times significantly. (But 
parsing and serialization do account for a considerable share of Xalan's 
execution time.)

______________________________________
Joe Kesselman  / IBM Research