updatePlaces should only update frecency once per URI

NEW
Unassigned

Status

()

P3
normal
8 years ago
2 years ago

People

(Reporter: sdwilsh, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 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

8 years ago
Depends on: 606966

Updated

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