Bug #2730
closedOn Query command line, -TP:profile.html produces incorrect output
100%
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.
Updated by Debbie Lockett over 8 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.
Updated by Debbie Lockett over 8 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.
Updated by O'Neil Delpratt over 8 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.
Updated by O'Neil Delpratt over 7 years ago
- Applies to branch trunk added
- Applies to branch deleted (
9.8)
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue