You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/31 21:43:28 UTC

DO NOT REPLY [Bug 11345] New: - xsltc's indentity transform too slow

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11345

xsltc's indentity transform too slow

           Summary: xsltc's indentity transform too slow
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: tom.amiro@sun.com


Xsltc is very slow in performing the identity transformation 
(i.e., newTranformer() or newTemplates() with no stylesheet argument)
from various sources to results. Currently, xsltc uses an internal 
representation of the default identity transformation stylesheet,
compiling it to translet initially, and then loading the byte 
codes n times for n transformations. A redesign of this feature 
should be able to eliminate the compilation and invocation of the class 
loader, which are very expensive with respect to performance.