RE: [xsl] Profiling XSLT

Subject: RE: [xsl] Profiling XSLT
From: Mulberry Technologies List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Dec 2001 10:24:40 -0500
>From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
>To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>Subject: RE: [xsl] Profiling XSLT
>Date: Mon, 31 Dec 2001 14:28:53 -0000
>
>Saxon's -T option will give you a full execution trace. This is in XML
>format, so you could write a stylesheet to analyse it. Let me know how you
>get on!
>
>Mike Kay
>
>> -----Original Message-----
>> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Brian Smith
>> Sent: 28 December 2001 06:12
>> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>> Subject: [xsl] Profiling XSLT
>>
>>
>> What is the best way to profile an XSLT stylesheet? I have
>> one that is
>> using a lot of "navigation" between elements in a document using the
>> document() function. I suspect that this navigation is making things
>> markedly slower. However, I'm also worried that my slow performance
>> might be coming from my extensive use of the EXSLT functions module.
>>
>> I am currently using Saxon 6.5 but I could do the measurements on a
>> different XSLT processor if necessary. Saxon 6.5 has a performance
>> tracing tool (java -jar saxon.jar -t) but when I use it I get very
>> little output. I think this is because most of my logic is in
>> my EXSLT
>> functions.
>>
> > SAXON 6.5 from Michael Kay
>> Java version 1.3.1_01
>> Preparation time: 471 milliseconds
>> Processing file:/C:/md/md-xmi/sql/xmi/Model1.4-Model1.4-XMI2.0.xmi
>> Building tree for
>> file:/C:/md/md-xmi/sql/xmi/Model1.4-Model1.4-XMI2.0.xmi using class
>> com.icl.saxon.tinytree.TinyBuilder
>> Tree built in 170 milliseconds
>> Building tree for
>> file:/C:/md/md-xmi/sql/xmi/Model1.4-Model1.4-XMI2.0.xmi using class
>> com.icl.saxon.tinytree.TinyBuilder
>> Tree built in 40 milliseconds
>> Execution time: 110090 milliseconds
>>
>> Thanks,
>> Brian Smith
>>
>>
>>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • [xsl] Profiling XSLT
    • Brian Smith - Fri, 28 Dec 2001 00:12:11 -0600
      • <Possible follow-ups>
      • Mulberry Technologies List Owner - Mon, 31 Dec 2001 10:24:40 -0500 <=