Closed
Bug 929919
Opened 11 years ago
Closed 11 years ago
[Messaging] getThreads optimization
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 Sprint 6 - 12/6
People
(Reporter: borjasalguero, Assigned: borjasalguero)
References
Details
Attachments
(1 file, 1 obsolete file)
46 bytes,
patch
|
julienw
:
review+
|
Details | Diff | Splinter Review |
Update the logic in 'getThreads' method due to now it's not well-optimized.
Assignee | ||
Comment 1•11 years ago
|
||
This is needed because due to the current logic of 'getThreads', we are requesting the entire list of threads *every time* we are sending a new message to a new recipient. This is definitely a non-optimized implementation, and *blocks* the APP when the list of threads is large.
Comment 3•11 years ago
|
||
Sorry, this is blocking nothing here. This is like this since 1.0. Please don't abuse the flags and dependencies. That said, I'd be very happy with landing this for 1.3. It's just that this won't hold the release.
No longer blocks: 919995
blocking-b2g: 1.3+ → ---
Assignee | ||
Updated•11 years ago
|
Summary: [Messaging] Optimize getThreads method logic in Gaia → [Messaging] getThreads optimization & mutation removed
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #828048 -
Flags: review?(felash)
Assignee | ||
Comment 5•11 years ago
|
||
This is part of the work needed in getThreads, due to when the amount of threads is large, forwarding a message or sending a new one could be stucked for seconds in the composer due to this bug. Waiting Julien's review, and one this will be in master, I'll request 1.3? Flag.
Comment 6•11 years ago
|
||
Comment on attachment 828048 [details]
Pull request
Comments on github
please do smaller patches in the future. Big patches makes it harder to focus and therefore to review and as a result it takes too much of my time.
Thanks!
Attachment #828048 -
Flags: review?(felash)
Assignee | ||
Updated•11 years ago
|
Summary: [Messaging] getThreads optimization & mutation removed → [Messaging] getThreads optimization
Updated•11 years ago
|
Target Milestone: --- → 1.3 Sprint 5 - 11/22
Updated•11 years ago
|
Target Milestone: 1.3 Sprint 5 - 11/22 → 1.3 Sprint 6 - 12/6
Assignee | ||
Comment 7•11 years ago
|
||
This is the patch solving multiple request to getThreads, improving the performance!
Attachment #828048 -
Attachment is obsolete: true
Attachment #8336005 -
Flags: review?(felash)
Comment 8•11 years ago
|
||
Comment on attachment 8336005 [details] [diff] [review] Pull request review is finished! Overall a welcome addition but I think this can be even better! Please add a new commit for the follow-ups to your existing commit so that the next review is easy ;)
Attachment #8336005 -
Flags: review?(felash)
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8336005 [details] [diff] [review] Pull request Code updated! r?
Attachment #8336005 -
Flags: review?(felash)
Comment 10•11 years ago
|
||
Comment on attachment 8336005 [details] [diff] [review] Pull request r=me thanks, this is a very helpful addition!
Attachment #8336005 -
Flags: review?(felash) → review+
Comment 11•11 years ago
|
||
Bug 943778 is a follow-up for creating a more OO approach on threads.
Assignee | ||
Comment 12•11 years ago
|
||
https://github.com/borjasalguero/gaia/commit/8115e89f4bd5b1f3cb68545f48aa20bb2d7dbe07 https://github.com/mozilla-b2g/gaia/commit/15494b980a88ae7dfb8ba48164ea01ec3b35b86f R+. Merged!
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•