Closed Bug 731165 Opened 13 years ago Closed 13 years ago

backport bug 731055 to bmo (get_enterable_products() is very slow when a product has many components or versions)

Categories

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

Production
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

References

Details

(Keywords: perf)

Attachments

(1 file)

we should backport bug 731055 to bmo; it looks like a good win for a simple change.
Attached patch patch v1 (deleted) — Splinter Review
Attachment #601234 - Flags: review?(dkl)
Comment on attachment 601234 [details] [diff] [review] patch v1 Review of attachment 601234 [details] [diff] [review]: ----------------------------------------------------------------- Looks good and works as expected. r=dkl
Attachment #601234 - Flags: review?(dkl) → review+
You may be interested by bug 695514 too, which is about the same topic.
Blocks: 685146
FYI, this patch + the other ones you plan to backport only bring a minor perf win on my testing with a copy of the bmo DB: from 15.1s down to 14.8 when viewing a large bug report (38862). :(
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/ modified Bugzilla/User.pm Committed revision 8080. Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.2/ modified Bugzilla/User.pm Committed revision 8069.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: backport bug 731055 to bmo → backport bug 731055 to bmo (get_enterable_products() is very slow when a product has many components or versions)
Keywords: perf
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: