Closed Bug 851682 Opened 11 years ago Closed 11 years ago

Use cursor when loading busytimes in Store.Busytime#loadSpan

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlal, Assigned: gaye)

References

Details

Currently we use a bounded mozGetAll search where a cursor search would be better in terms of perceived performance... With minor changes in the time controller we should show a substantial speedup to the first batch of busytimes displayed.
Assignee: nobody → gaye
Does a bug like this one deserve a performance test?
Flags: needinfo?(jlal)
I tested this while working on animations this week... it really does not work out as intended. Its still faster to use mozGetAll and then use setTimeout hacks to incrementally process the results... This is a perfect example of where having idb in a worker thread would be massively helpful... I will open up a new bug about improving the algorithm we use to load busytimes.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jlal)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.