Closed
Bug 1868279
Opened 2 years ago
Closed 2 years ago
Schedule downloading of domain-to-category attachments inside an idle event
Categories
(Firefox :: Search, task, P2)
Firefox
Search
Tracking
()
RESOLVED
INVALID
People
(Reporter: jteow, Assigned: jteow)
References
Details
(Whiteboard: [sng])
Attachments
(1 obsolete file)
DS would like to expand the number of domains used for the categorization process by 2.5x (30k to ~75k).
The issue with the current implementation is we're doing all the downloads one after another before parsing the data and then moving all the data into a single object.
I worry the downloading process might end up taking much longer and become more noticeable. To make this a bit more future proof in case the number of domains expands to a much larger number, I think it'd be better to refactor the code so that both download and parsing is inside of a call to Services.tm.idleDispatchToMainThread.
| Assignee | ||
Updated•2 years ago
|
Summary: Schedule download inside an idle event → Schedule downloading of domain-to-category attachments inside an idle event
| Assignee | ||
Updated•2 years ago
|
Whiteboard: [sng]
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9367081 -
Attachment is obsolete: true
| Assignee | ||
Comment 2•2 years ago
|
||
Closing as INVALID as this shouldn't be an issue since the current implementation shouldn't cause a performance regression.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•