If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

updatePlaces should only update frecency once per URI

NEW
Unassigned

Status

()

Toolkit
Places
P3
normal
7 years ago
6 months ago

People

(Reporter: sdwilsh, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Right now History::UpdatePlaces will update frecency after every visit.  If we have duplicate URIs (likely), this is a lot of extra disk I/O that we don't need to do.

Best bet is probably to a hashtable of ids->VisitData (or spec maybe and change the method) and enumerate them.
(Reporter)

Updated

7 years ago
Depends on: 606966

Updated

6 months ago
Keywords: perf
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.