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=6463>. 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=6463 Severe Performance problems (Memory + Time taken) compared to SAXON Summary: Severe Performance problems (Memory + Time taken) compared to SAXON Product: XalanJ2 Version: CurrentCVS Platform: All URL: http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Enclosed is a sample that when used with SAXON takes just 3625 millisecs. When i run the same thing with Xalan takes 305269 millisecs. A ridiculous factor of 84 times (305269/3625) on my Win2K 800MHz 512MB lightly loaded machine. Also note that i have to bump up the memory using -Xms128m -Xmx256m in java commandline parameters when using Xalan to avoid OutOfMemory Errors. Am trying to write a Merge ANT Task using the merge.xslt at the URL: http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge - Yes, Am using incremental mode. Normal mode is worse. - Will add the complete sample as an attachment to this bug report. - After unzipping enclosed sample, drop in xalan.jar, xercesImpl.jar, xml- apis.jar in the same directory. - There are 3 bat files, compile.bat, runsaxon.bat and runxalan.bat Here is the output using Xalan latest CVS: ============================================================================= D:\xalan-perf>runxalan Incremental Feature on Reading: file:/D:/xalan-perf/./TEST/deli.xconf Reading: file:/D:/xalan-perf/./TEST/hsqldb.xconf Reading: file:/D:/xalan-perf/./TEST/jisp.xconf Reading: file:/D:/xalan-perf/./TEST/lucene.xconf Reading: file:/D:/xalan-perf/./TEST/resolver.xconf Reading: file:/D:/xalan-perf/./TEST/xmldb.xconf file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/deli.xconf' file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/hsqldb.xconf' file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/jisp.xconf' file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/lucene.xconf' file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/resolver.xconf' file:///D:/xalan-perf/tools/resources/stylesheets/merge.xsl; Line 61; Column 18; Merging input with 'file:/D:/xalan-perf/./TEST/xmldb.xconf' Time Taken (msecs):305269 ============================================================================= Here is the output using SAXON latest: ============================================================================= D:\xalan-perf>runsaxon Incremental Feature off Reading: file:/D:/xalan-perf/./TEST/deli.xconf Reading: file:/D:/xalan-perf/./TEST/hsqldb.xconf Reading: file:/D:/xalan-perf/./TEST/jisp.xconf Reading: file:/D:/xalan-perf/./TEST/lucene.xconf Reading: file:/D:/xalan-perf/./TEST/resolver.xconf Reading: file:/D:/xalan-perf/./TEST/xmldb.xconf Merging input with 'file:/D:/xalan-perf/./TEST/deli.xconf' Merging input with 'file:/D:/xalan-perf/./TEST/hsqldb.xconf' Merging input with 'file:/D:/xalan-perf/./TEST/jisp.xconf' Merging input with 'file:/D:/xalan-perf/./TEST/lucene.xconf' Merging input with 'file:/D:/xalan-perf/./TEST/resolver.xconf' Merging input with 'file:/D:/xalan-perf/./TEST/xmldb.xconf' Time Taken (msecs):3625 =============================================================================
