Project

Profile

Help

Bug #3398

closed

Stylesheet runs in 25s on EE-9.5, takes 10hrs+ on EE-9.7 or EE-9.8

Added by Michael Kay over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Sprint/Milestone:
Start date:
2017-08-16
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7, 9.8
Fix Committed on Branch:
9.7, 9.8
Fixed in Maintenance Release:
Platforms:

Description

A customer has submitted a stylesheet that shows a pathological performance regression between 9.5 and 9.7.

A -TP profile shows that nearly all the time is spent in one template. This is doing a join. Using -explain suggests that the join is being properly optimized to use indexes in both releases, though the detail of the execution plan is slightly different.

However, outputting timed xsl:message output indicates that there is a significant slowdown even before that template is reached: in 9.5 the first message (after the starting message) is output after 2s, on 9.8 it takes 3m.

Please register to edit this issue

Also available in: Atom PDF