This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Profiling XSLT


>From: "Michael Kay" <michael.h.kay@ntlworld.com>
>To: <xsl-list@lists.mulberrytech.com>
>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@lists.mulberrytech.com
>> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Brian Smith
>> Sent: 28 December 2001 06:12
>> To: XSL-List@lists.mulberrytech.com
>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]