Closed Bug 1143864 Opened 11 years ago Closed 11 years ago

Replace |FILTER bug_link| in loops by direct calls to bug/link.html.tmpl to improve performance

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

4.5.6
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: perf)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
From bug 912531 comment 11: - |FILTER bug_link| is definitely slow, because TT is slow to do recursions. Way too slow to be used in loops. I replaced it by a direct call to bug/link.html.tmpl, which is much faster. This is also why I objected to fix bug 115796. It would be a *huge* performance regression.
Attachment #8578260 - Flags: review?(dkl)
Depending on which lands first, either bug 1105568's patch or this one will need updating :-)
(So we use the template directly for flagmail too)
Comment on attachment 8578260 [details] [diff] [review] patch, v1 Review of attachment 8578260 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl
Attachment #8578260 - Flags: review?(dkl) → review+
Flags: approval?
Flags: approval5.0?
Flags: approval?
Flags: approval5.0?
Flags: approval5.0+
Flags: approval+
(In reply to Ed Morley [:edmorley] from comment #2) > (So we use the template directly for flagmail too) I did this fix on checkin. To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git d1c18ff..cb8ec96 master -> master To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git 038774e..467bef6 5.0 -> 5.0
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: