Closed Bug 1579973 Opened 5 years ago Closed 5 years ago

StartVisitedQuery IPC is called many times on pageload

Categories

(Toolkit :: Places, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1442659

People

(Reporter: bas.schouten, Unassigned)

Details

Right now during pageload we see big batches of the StartVisitedQuery IPC call coming through. (hundreds in some cases) Since there is a relatively high overhead per IPDL call this hogs the I/O thread quite a bit as well. It would probably more efficient to batch these and send them in a single IPDL call.

For GeckoView's history implementation, we buffer requests and wait for 250ms before sending an IPC message. There's a bug somewhere to use IdleTaskRunner instead of a timer as a further optimization. It'd be wonderful if we could make that generic, so that GeckoView and Desktop Places could use the same logic to batch visited checks.

This is probably related to bug 484928 and might be a near duplicate of bug 1442659.

Discussed with Marco, and this is close enough to bug 1442659 that this is the same.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.