Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine time taken by an XSLT?

How can I determine the time taken by an XSLT to execute? I'm currently using saxon xslt processor.

like image 340
user3471313 Avatar asked Feb 02 '26 07:02

user3471313


1 Answers

From commandline you can use -t parameter

java -jar saxon9he.jar -t -s:source.xml -xsl:stylesheet.xslt -o:output.xml

You obtain information like compilation time, execution time etc.

Take a look at Saxon documentation

like image 55
Jirka Š. Avatar answered Feb 05 '26 03:02

Jirka Š.