Closed Bug 898626 Opened 7 years ago Closed 7 years ago

Log4Moz should use lazy module getters for osfile.jsm and Task.jsm

Categories

(Cloud Services :: Firefox: Common, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla25

People

(Reporter: chmanchester, Assigned: chmanchester)

Details

Attachments

(1 file)

While working on Bug 896087, I found that the imports in log4moz.js were a significant performance penalty. While this only a real problem for users that repeatedly import, in general there's no need incur the cost of these imports for those that don't make use of the file appenders. Let's use lazy getters instead.
Assignee: nobody → cmanchester
Attachment #781931 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/d712769487a4
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Target Milestone: mozilla26 → mozilla25
You need to log in before you can comment on or make changes to this bug.