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

RESOLVED FIXED in mozilla25

Status

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: cmanchester, Assigned: cmanchester)

Tracking

unspecified
mozilla25
x86
macOS
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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: 6 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.