Closed Bug 1886095 Opened 1 year ago Closed 1 year ago

Investigate other means of storing domains on client

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: jteow, Assigned: jteow)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

According to about:memory diffs, the domain to category worker occupies 17.22 MB of memory.

While it's not terrible and it doesn't get loaded per content process, it isn't particularly scalable. And unfortunately, it has to loaded into memory every time Firefox is re-opened.

I looked at using IndexedDB but the memory it took up during the insertion step in the worker was ridiculous (400 mb). Granted, it dropped once the work was finished.

I also looked at using SQLite.

Attachment #9391938 - Attachment description: WIP: - Bug 1886095 - Test storing mappings in SQLite - r?mak! → WIP: - Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane!
Assignee: nobody → jteow
Attachment #9391938 - Attachment description: WIP: - Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane! → Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane!
Status: NEW → ASSIGNED
Whiteboard: [sng]
Attachment #9391938 - Attachment description: Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane! → WIP: - Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane!
Attachment #9391938 - Attachment description: WIP: - Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane! → Bug 1886095 - Store hashed domain to categories inside Sqlite - r?mak!,scunnane!
Pushed by jteow@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca1d92833d2c Store hashed domain to categories inside Sqlite - r=mak,scunnane
Blocks: 1889677
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Regressions: 1889949
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: