xsltproc
Profiler
The xsltproc XSLT 1.0 processor supports a --profile switch that triggers a dump of profiling information. The example below shows the first few lines of output from profiling one of the code-generating stylesheets for the xmlroff XSL formatter:
xsltproc --profile --stringparam dump-info dump-info.xml fo-context-dump.xsl xslspec.xml
number match name mode Calls Tot 100us Avg
0 property-to-context-property-merge
172 426224 2478
1 fo-context-c-file 1 315848 315848
2 property-to-slist-foreach-if
172 143712 835
3 property-to-context-property-copy
172 107006 622
...
Debugger
xsltproc has a command-line debugger.
