Open Bug 1696051 Opened 5 years ago Updated 1 year ago

The startup cache file is written to disk during shutdown with many small write calls

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

Performance Impact medium

People

(Reporter: florian, Unassigned)

References

Details

(Keywords: perf, perf:responsiveness)

We can likely find a more efficient way to write this file to disk.
https://searchfox.org/mozilla-central/rev/c24ecdc6f5025ea7e60d0691673de030bd5bf411/startupcache/StartupCache.cpp#555-556,578,586,591,605

Example profile: https://share.firefox.dev/3kETT2X (this was a profile of startup+shutdown of the Browser Toolbox, so it was likely the first use of this profile directory) It took more than 300ms on a fast macbook pro.

Whiteboard: [fxperf] → [fxperf:p2]
Performance Impact: --- → P2
Whiteboard: [fxperf:p2]
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.