Optimize parsing cache index

NEW
Assigned to

Status

()

Core
Networking: Cache
P3
normal
2 years ago
5 months ago

People

(Reporter: michal, Assigned: michal)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox47 affected)

Details

(Whiteboard: [necko-backlog])

(Assignee)

Description

2 years ago
Loading index from disk takes relatively lot of time. E.g. index with 165000 records is loaded in 15 seconds: https://bugzilla.mozilla.org/show_bug.cgi?id=1085172#c15. It seems that most of the time we spend parsing the file (CacheIndex::ParseRecords() and CacheIndex::ParseJournal()). We should investigate whether it is possible to optimize this code.
Whiteboard: [necko-backlog]
You need to log in before you can comment on or make changes to this bug.