Closed Bug 884817 Opened 8 years ago Closed 8 years ago

move loading of comments into Bugzilla::Bug::preload()

Categories

(bugzilla.mozilla.org :: General, defect)

Production
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

Details

currently comments for a bug are lazy-loaded when requested by the show_bug template.

this is great, however it makes it very difficult to measure the time it takes to pluck the comments from the database separately from the time it takes the template to render the comments as html.

a simple fix for this is to load the comments for the bugs in Bugzilla::Bug::preload().
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/
modified Bugzilla/Bug.pm
Committed revision 8851.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.