How to profile Saxon executions

In the spirit of Dimitre Novatchev, respond to XSLT Performance , I want to create a profile that shows where the time spent on XSL conversion went. Using the Saxon -TP: profile.html parameter, we created the HTML document "Analysis of the runtime of the stylesheet".

At the top of this document we see:

Total time: 1102316.688 milliseconds

This figure (1.102 seconds) corresponds to my measured program runtime.

However, the sum of the values ​​of the "total time (net)" column is less than 2% of this amount. I believe for http://www.saxonica.com/html/documentation/using-xsl/performanceanalysis.html that the values ​​of the "total time (net)" column are reported in milliseconds.

I usually work with the profile from top to bottom, but in this case I don’t want to invest in optimizing the template, which reportedly provided less than 0.5% of my total response time.

How can I find out where my time really has gone? In particular, how can I find out where unregistered 98% of my programming time was recorded?

+4
source share

All Articles