Closed
Bug 865741
Opened 11 years ago
Closed 6 years ago
[meta] Use caching for lists
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: vingtetun, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [c= p= s= u=])
Some lists are growing quite fast and are hard to use when they reach around 500 entries. Caching the lists data can help drastically. I suggest to implement this for call log, contacts and sms since this is the 3 lists where this is the most noticeable. I consider this a blocker since those parts of the phone are unusable for me after 1 intensive month of usage. Not blocking on this means the phone will be unusable after a few months of use for all users...
Reporter | ||
Comment 1•11 years ago
|
||
I have added a poc in bug 865747 that shows how much it can help.
Comment 2•11 years ago
|
||
Hi there, I already did a poc for caching (and already synchronising with contacts changes), but after lasts improvements in the Backend I didn't feel it was needed anymore. In the Frontend side, we had a performance review in Madrid, and the only small point to be fixed was the "renderOrg" method, that obviously is too expensive for what it does. Could you please upload a video or give more details about STR (number of contacts, contact to be accessed, and times), as I'm not having those problems with my 500 contacts dogfooding agenda. Regarding the code, where can I find cache.js and visibility_monitor? Is important knowing how long do we spend retrieving the cache. At the other hand, are we sure retreiving the whole cache is not more expensive for showing the first chunk, that doing it with cursors? Thanks for the poc! Let me reproduce your use case and see how we can solve it. Regards
Comment 3•11 years ago
|
||
Ups, this comment was meant to be at bug 865747 (In reply to Alberto Pastor [:albertopq] from comment #2) > Hi there, > I already did a poc for caching (and already synchronising with contacts > changes), but after lasts improvements in the Backend I didn't feel it was > needed anymore. In the Frontend side, we had a performance review in Madrid, > and the only small point to be fixed was the "renderOrg" method, that > obviously is too expensive for what it does. > > Could you please upload a video or give more details about STR (number of > contacts, contact to be accessed, and times), as I'm not having those > problems with my 500 contacts dogfooding agenda. > > Regarding the code, where can I find cache.js and visibility_monitor? Is > important knowing how long do we spend retrieving the cache. At the other > hand, are we sure retreiving the whole cache is not more expensive for > showing the first chunk, that doing it with cursors? > > Thanks for the poc! Let me reproduce your use case and see how we can solve > it. > > Regards
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Alberto Pastor [:albertopq] from comment #3) > Ups, this comment was meant to be at bug 865747 > > (In reply to Alberto Pastor [:albertopq] from comment #2) > > Hi there, > > I already did a poc for caching (and already synchronising with contacts > > changes), but after lasts improvements in the Backend I didn't feel it was > > needed anymore. In the Frontend side, we had a performance review in Madrid, > > and the only small point to be fixed was the "renderOrg" method, that > > obviously is too expensive for what it does. > > > > Could you please upload a video or give more details about STR (number of > > contacts, contact to be accessed, and times), as I'm not having those > > problems with my 500 contacts dogfooding agenda. > > > > Regarding the code, where can I find cache.js and visibility_monitor? Is > > important knowing how long do we spend retrieving the cache. At the other > > hand, are we sure retreiving the whole cache is not more expensive for > > showing the first chunk, that doing it with cursors? > > > > Thanks for the poc! Let me reproduce your use case and see how we can solve > > it. > > > > Regards I replied there :)
Updated•11 years ago
|
Whiteboard: u=user c=performance
Comment 6•11 years ago
|
||
Updating the email dependency chain.
Updated•11 years ago
|
Assignee: nobody → jhylands
Comment 7•11 years ago
|
||
I'm not sure why this blocks bug 863988 or bug 857398, which both appear to be more or less resolved independently.
Comment 8•11 years ago
|
||
Vivien, Is this bug meant to be a meta/parent bug for tracking all related (blocked) issues or is there work that needs to be done specifically for this one?
Flags: needinfo?(21)
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Michael Lee [:mlee] from comment #8) > Vivien, > > Is this bug meant to be a meta/parent bug for tracking all related (blocked) > issues or is there work that needs to be done specifically for this one? It means to be a meta.
Flags: needinfo?(21)
Comment 10•11 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #9) > > It means to be a meta. Thanks Vivien. Unassigning from Jon since there's nothing for him to do here.
Assignee: jhylands → nobody
Updated•11 years ago
|
Keywords: perf
Summary: Use caching for lists → STORY.DEV - Use caching for lists
Whiteboard: u=user c=performance → c=
Comment 11•11 years ago
|
||
FYI, http://sergimansilla.com/blog/virtual-scrolling/
Comment 12•11 years ago
|
||
WHat sadden me here is that it doesn't use the Visibility Monitor that we already have.
Comment 13•11 years ago
|
||
Should this still be leo+ now that bug 857398 has been resolved? I don't see any other leo+ bugs in the blocked list. I ask because its been suggested that DataStore is the long term caching solution. However, if DataStore cannot be uplifted to b2g18, then it seems we may need some short term solution. And if so, does this short term solution really need to be general like this meta bug suggests, or can we handle the critical issues on a case-by-case basis?
Comment 14•11 years ago
|
||
Dietrich recommended I set this to leo? based on my thoughts in comment 13.
blocking-b2g: leo+ → leo?
Updated•11 years ago
|
blocking-b2g: leo? → ---
Summary: STORY.DEV - Use caching for lists → [meta] STORY.DEV - Use caching for lists
Updated•11 years ago
|
Priority: -- → P2
Summary: [meta] STORY.DEV - Use caching for lists → [meta] Use caching for lists
Whiteboard: c= → [c= p= s= u=]
Comment 15•11 years ago
|
||
Depending on bug 940428 for now. I believe we want to try out a streaming cursor based approach, which should make it unnecessary to use caching.
Depends on: 940428
Comment 16•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•