Closed Bug 1387899 Opened 2 years ago Closed 2 years ago

Cache browserAction/pageAction icon data for startup

Categories

(WebExtensions :: Frontend, enhancement)

enhancement
Not set

Tracking

(firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Normalizing browserAction and pageAction icon data is one of the most expensive things we currently do during startup. It's simple enough to store the pre-normalized data in the startup cache rather than calculating it each time.
Comment on attachment 8894361 [details]
Bug 1387899: Part 1 - Cache browserAction icon data for startup.

https://reviewboard.mozilla.org/r/165526/#review170844
Attachment #8894361 - Flags: review?(mixedpuppy) → review+
Comment on attachment 8894362 [details]
Bug 1387899: Part 2 - Cache pageAction icon data for startup.

https://reviewboard.mozilla.org/r/165528/#review170846
Attachment #8894362 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/mozilla-central/rev/ea0416ce52cd
https://hg.mozilla.org/mozilla-central/rev/f264d96b8582
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.