Project

Profile

Help

Bug #2730

On Query command line, -TP:profile.html produces incorrect output

Added by Michael Kay almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Performance
Sprint/Milestone:
Start date:
2016-04-29
Due date:
% Done:

100%

Legacy ID:
Applies to branch:
9.7, trunk
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:

Description

When XQuery is run from the command line, using the -TP:profile.html option, the resulting HTML output is messy:

(a) The title is "Analysis of Stylesheet Execution Time" (rather than Query execution time)

(b) The entire output appears twice

(c) The subheading refers to "template or function", but for XQuery it will always be a function

(d) In the second version of the report, the "total execution time" is rubbish.

History

#1 Updated by Debbie Lockett almost 4 years ago

  • Status changed from New to In Progress
  • Applies to branch 9.7, 9.8 added

(b) & (d): Fix in DynamicQueryContext to prevent traceListener being set twice, which resulted in the duplicated output.

(a) & (c): Changes made to TimingTraceListener so that the output differs depending on whether it is used with Transform or Query.

Patches committed to 9.7 and 9.8 dev branches.

Keeping the bug open until changes have also been made to the documentation - currently the -TP option is not documented for the Query command line.

#2 Updated by Debbie Lockett almost 4 years ago

  • Status changed from In Progress to Resolved
  • Fix Committed on Branch 9.7, 9.8 added

The documentation has been updated to include details on using the -TP command line option with Query. Committed to userdoc source on 9.7 and 9.8 dev branches.

The relevant sections of the online documentation will be updated with the next maintenance release.

#3 Updated by O'Neil Delpratt almost 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.5 added

Bug fix applied in the Saxon 9.7.0.5 maintenance release.

#4 Updated by O'Neil Delpratt almost 4 years ago

  • Sprint/Milestone set to 9.7.0.5

#5 Updated by O'Neil Delpratt almost 3 years ago

  • Applies to branch trunk added
  • Applies to branch deleted (9.8)

#6 Updated by O'Neil Delpratt almost 3 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF