On Query command line, -TP:profile.html produces incorrect output
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.
#1 Updated by Debbie Lockett over 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 over 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.
Please register to edit this issue