Project

Profile

Help

Bug #5910

closed

Double reporting of template execution in timing profile

Added by Joel Kalvesmaki over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2023-03-08
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
Java

Description

In performance testing on a particular XML + XSLT combination, I noticed it was taking roughly twice as long on the command line as it was in Oxygen. I did a profile and notice that the initial template mode matching the document was being visited twice in the command line version, but only once in Oxygen (which is running Saxon 10.6).

I replicated the anomaly with the simplest of XSLT files, and, with profiling on, found that Saxon EE 9.9.1.8 and 10.9 on the command line visited the document template mode only once. But for Saxon EE 11.5 and 12.0 the document template mode was visited twice.

I've confirmed the above on two different XML + XSLT combinations on the command line across the four products.

Please register to edit this issue

Also available in: Atom PDF