xsl-list
[Top] [All Lists]

RE: [xsl] How to make this script faster

2007-11-16 03:42:02
Hi all, and thanks for comments. So here is the real test case:

Files are available at:

http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Sandbox
/07_03pu.xml

http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/Sandbox
/dcmtk/extract_section.xsl


Finally got it downloaded - the server was being very slow.

It's taking a long time because it's fetching the DTD from a remote HTTP
site. Nothing to do with the XSLT code at all.

Michael Kay
http://www.saxonica.com/


Then running saxon8 from command line:

$ time java -jar saxon8.jar 07_03pu.xml extract_section.xsl ...
java -jar saxon8.jar 07_03pu.xml extract_section.xsl  4.10s 
user 0.15s system 38% cpu 11.123 total

And that's for only *one* section ! system is: debian stable, 
$ java -version java version "1.6.0_01"


Thanks !
--
Mathieu

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--