Closed
Bug 799257
Opened 12 years ago
Closed 12 years ago
Backport bug 795650 and bug 797883 to bmo/4.0 and bmo/4.2 for performance improvement
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
Details
Attachments
(1 file, 1 obsolete file)
4.06 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
Bug 797833 adds a new process_cache variable to Bugzilla.pm for caching data for a HTTP child process such as mod_perl. Bug 795650 uses processs_cache to cache the HTML::Scrubber module used by the html_light filter in templates. dkl
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #669312 -
Flags: review?(glob)
Comment on attachment 669312 [details] [diff] [review] Patch to backport 797833/795650 to bmo (v1) you missed a few edits to Bugzilla/Template.pm from bug 797883 remove |our %shared_providers| and change clearing out the cached provider object.
Attachment #669312 -
Flags: review?(glob) → review-
Assignee | ||
Comment 3•12 years ago
|
||
Ugh. Long story. Anyway here is a proper patch. dkl
Attachment #669312 -
Attachment is obsolete: true
Attachment #669692 -
Flags: review?(glob)
Comment on attachment 669692 [details] [diff] [review] Patch to backport 797833/795650 to bmo (v2) Review of attachment 669692 [details] [diff] [review]: ----------------------------------------------------------------- r=glob, with the duplicate code removed on commit. ::: Bugzilla/Template.pm @@ +628,5 @@ > > + # Use a per-process provider to cache compiled templates in memory across > + # requests. > + Bugzilla->process_cache->{shared_providers} ||= {}; > + please remove this block on commit; it's from an old revision and is duplicated below.
Attachment #669692 -
Flags: review?(glob) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.0 modified Bugzilla/Util.pm modified Bugzilla.pm modified Bugzilla/Template.pm Committed revision 8354. Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2 modified Bugzilla/Util.pm modified Bugzilla.pm modified Bugzilla/Template.pm Committed revision 8376. dkl
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Summary: Backport bug 795650 and bug 797833 to bmo/4.0 and bmo/4.2 for performance improvement → Backport bug 795650 and bug 797883 to bmo/4.0 and bmo/4.2 for performance improvement
You need to log in
before you can comment on or make changes to this bug.
Description
•