Subject: RE: How to make this script faster
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 16 Nov 2007 10:41:28 -0000
|
> 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
|