Move core Categorization Map into a worker
Categories
(Firefox :: Search, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
Details
(Whiteboard: [sng])
Attachments
(1 file, 1 obsolete file)
As we get closer to posting the category mappings, one concern is if there's a conflict between the initial startup loading the attachments and a test event forcing a sync.
To avoid work that could get overwritten anyway, we should bail in clearAndPopulateMap where it seems fitting.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
The concern about bailouts was about testing interfering with downloading content from RS, but since tests don't pull from the real RS this shouldn't be a concern.
I've been testing running the mappings from stage - preview and I am wondering if the impact to startup especially on the main thread is acceptable or if we should look to move some of this to a Worker and storing the information there.
This might make querying the map async, but unlike other consumers who have large storage requirements like Urlbar and are user facing, we don't require near instant responses.
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•