Closed Bug 1826946 Opened 1 year ago Closed 11 months ago

Delay frecency calculations for history batch inserts

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

(Keywords: perf, Whiteboard: [snt-scrubbed])

Attachments

(3 files)

It makes sense to calculate frecency immediately while the user is browsing, or for small inserts, so the urlbar will react faster to insertions... though large inserts from Migration or Sync would be ok with delayed calculation. We can avoid expensive calculation work when doing those inserts.

Depends on D179261

Blocks: 623969
Summary: Consider delaying frecency calculation for history batch inserts → Delay frecency calculations for history batch inserts
Assignee: nobody → mak
Attachment #9336192 - Attachment description: WIP: Bug 1826946 - rename shouldUpdateFrecency to isUnrecoverableError → Bug 1826946 - rename shouldUpdateFrecency to isUnrecoverableError. r=daisuke
Status: NEW → ASSIGNED
Attachment #9336193 - Attachment description: WIP: Bug 1826946 - remove shouldUpdateHidden → Bug 1826946 - remove shouldUpdateHidden. r=daisuke
Attachment #9336194 - Attachment description: WIP: Bug 1826946 - Delay frecency calculation for history batch inserts → Bug 1826946 - Delay frecency calculation for history batch inserts. r=daisuke
Whiteboard: [snt-scrubbed]
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/5e379963d6c6
rename shouldUpdateFrecency to isUnrecoverableError. r=daisuke
https://hg.mozilla.org/integration/autoland/rev/23cd0ad9fd0a
remove shouldUpdateHidden. r=daisuke
https://hg.mozilla.org/integration/autoland/rev/b34dc8f7157a
Delay frecency calculation for history batch inserts. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: