[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Tool that measures the performance of an XSLT prog

Subject: Re: Tool that measures the performance of an XSLT program ata fine granularity?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Jul 2020 21:30:04 -0000
Re:  Tool that measures the performance of an XSLT prog
On Sun, 2020-07-26 at 21:00 +0000, Dr. Roger L Costello
costello@xxxxxxxxx wrote:
> Thanks Michael. If there is no way to get the performance of the
> basic pieces of an XSLT program, then how does one determine what is
> causing an XSLT program to run slow? For example, I have a function f
> that calls functions A, B, and C. The SAXON profile tool says that
> the total execution time for A, B, and C is 1 ms. The profile tool
> says that total time for f is 6 minutes. Without fine-grain
> profiling, I see no way to determine what is causing f to take so
> long to execute. Suggestions?

You need to look at what f calls in turn.

If possible, try simplifying the expression in question, even if it
gives wrong answers - e.g. remove the call to pow() or the
multiplication. If $length is large, random-sequence() may be slow,
too.


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.