Closed
Bug 805171
Opened 13 years ago
Closed 12 years ago
Abouthome is doing database queries on the main thread
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Firefox for Android Graveyard
Text Selection
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: wesj, Unassigned)
References
Details
Attachments
(2 files)
|
1.73 KB,
patch
|
Details | Diff | Splinter Review | |
|
10.14 KB,
patch
|
sriram
:
review-
|
Details | Diff | Splinter Review |
Not sure why this cursor has to be found on the ui thread. Looking into it, but this query takes about 1000ms on my device (with little to no history).
| Reporter | ||
Comment 1•13 years ago
|
||
I know sriram did a lot of perf work. Any idea why this is here?
Attachment #674815 -
Flags: review?(sriram)
| Reporter | ||
Comment 2•13 years ago
|
||
I also noticed that we spend about 500ms inflating stuff (on the UI thread) when we load about:home. I think we can avoid that by doing this.
Attachment #674817 -
Flags: review?(sriram)
| Reporter | ||
Comment 3•13 years ago
|
||
Comment on attachment 674815 [details] [diff] [review]
Patch 1
Crud. You're right this is fine I think.
Attachment #674815 -
Flags: review?(sriram)
Comment 4•13 years ago
|
||
Comment on attachment 674817 [details] [diff] [review]
Patch 2/2
Review of attachment 674817 [details] [diff] [review]:
-----------------------------------------------------------------
This would avoid re-inflation on rotate.
Attachment #674817 -
Flags: review?(sriram) → review-
| Reporter | ||
Comment 6•12 years ago
|
||
I think this was invalid. Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(wjohnston)
Resolution: --- → INVALID
Comment 7•12 years ago
|
||
According to the main thread stack in bug 856585 comment 0, there is still database activity on the main thread from about:home.
Comment 8•12 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #7)
> According to the main thread stack in bug 856585 comment 0, there is still
> database activity on the main thread from about:home.
I can open a new bug for that. I am working on a patch.
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•