Closed Bug 721104 Opened 13 years ago Closed 13 years ago

Cache the empty awesomebar search (and others?) in memory at least

Categories

(Firefox for Android Graveyard :: General, defect, P1)

defect

Tracking

(blocking-fennec1.0 +, fennec11+)

RESOLVED WONTFIX
Tracking Status
blocking-fennec1.0 --- +
fennec 11+ ---

People

(Reporter: wesj, Assigned: lucasr)

Details

(Keywords: perf)

Attachments

(1 file)

In XUL Fennec we used to cache the "" awesomebar search. We actually cached it on disk so that we could quickly load the results without waiting for places. We could do something similar in Native Fennec. Since we're trying to avoid file i/o, I'm not sure it would be a huge help to cache on disk (although we could try that, and open the file in a background thread on startup?). But we could at least cache the Cursor the first time we do the query. Subsequently showing the awesomebar should show the cached cursor results quickly, and then do a new query in the background.
Keywords: perf
Assignee: nobody → lucasr.at.mozilla
tracking-fennec: --- → 11+
Priority: -- → P1
Comment on attachment 593104 [details] [diff] [review] Cache AwesomeBar's 'Top Sites' query for a certain time I think we should skip this until we see if bug 725914 speeds things up enough. I do not like caching cursors. Danger, danger!
Attachment #593104 - Flags: review?(mark.finkle)
(In reply to Mark Finkle (:mfinkle) from comment #2) > Comment on attachment 593104 [details] [diff] [review] > Cache AwesomeBar's 'Top Sites' query for a certain time > > I think we should skip this until we see if bug 725914 speeds things up > enough. I do not like caching cursors. Danger, danger! Fair enough :-)
File a new bug if the latest DB, ViewObject and async favicon changes are not enough. Cache cursors is too risky IMO.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
blocking-fennec1.0: --- → +
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: