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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wesj, Unassigned)

References

Details

Attachments

(2 files)

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).
Attached patch Patch 1Splinter Review
I know sriram did a lot of perf work. Any idea why this is here?
Attachment #674815 - Flags: review?(sriram)
Attached patch Patch 2/2Splinter Review
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)
Comment on attachment 674815 [details] [diff] [review] Patch 1 Crud. You're right this is fine I think.
Attachment #674815 - Flags: review?(sriram)
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-
Wes - What's the status here?
Flags: needinfo?(wjohnston)
I think this was invalid. Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(wjohnston)
Resolution: --- → INVALID
According to the main thread stack in bug 856585 comment 0, there is still database activity on the main thread from about:home.
(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.
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: