Closed
Bug 730105
Opened 12 years ago
Closed 12 years ago
top sites takes almost 3 seconds to load content
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox13 fixed, firefox14 verified, firefox15 verified, blocking-fennec1.0 beta+)
VERIFIED
FIXED
Firefox 14
People
(Reporter: dietrich, Assigned: lucasr)
References
Details
Attachments
(3 files, 1 obsolete file)
3.96 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
5.61 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
5.18 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
start cold open a new tab the Top Sites content area is blank white for up to 3 seconds. opening warm shows a visible delay also, but not as bad, less than 1 second.
Comment 1•12 years ago
|
||
What buildid? This should be fixed by bug 725914
Reporter | ||
Comment 2•12 years ago
|
||
How do I find buildid on native Fennec?
place about:buildconfig in the url
Reporter | ||
Comment 4•12 years ago
|
||
built from http://hg.mozilla.org/mozilla-central/rev/5e756e59a794
Comment 5•12 years ago
|
||
That build has bug 725914 in it. We'll need to know the type of device and the size of your browser.db file. You should be able to "Move to SDCard" in Android > Settings > Applications > Nightly to do the move. Then you can pull off the DB. Naoki might have an add-on to give a rough estimate of the DB size too.
Updated•12 years ago
|
Comment 6•12 years ago
|
||
The simplest way to check db size is to open the Android settings > Applicaitons > Manage Applications > find Nightly and select it > press move to sdcard > go back to your home screen and launch Nightly. Then attach your phone to your computer as a storage device. check /Android/data/org.mozilla.fennec/files/mozilla/$profile-name.
Reporter | ||
Comment 7•12 years ago
|
||
Nexus S didn't have it there. It has no removable storage. It had a "move to usb storage" option, which moved the data to http://cl.ly/3225322t333Z3M3i0I23. Looks like some secure storage option maybe?
Updated•12 years ago
|
blocking-fennec1.0: --- → beta+
Updated•12 years ago
|
Status: NEW → ASSIGNED
Comment 8•12 years ago
|
||
Mark, Lucas can we help Dietrich extract his database size and figure out what's going on here?
Comment 9•12 years ago
|
||
(In reply to JP Rosevear [:jpr] from comment #8) > Mark, Lucas can we help Dietrich extract his database size and figure out > what's going on here? While we try to do that... Dietrich, can you make a video of this happening? It might be useful to see what aspects of the UI are loading slowly.
Comment 10•12 years ago
|
||
Also - can we reproduce this on other Nexus S phones, or is it specific to Dietrich's profile?
Comment 11•12 years ago
|
||
Could be fixed by bug 735660 too.
Assignee | ||
Comment 12•12 years ago
|
||
As Mark mentioned, I just found out yesterday that the perf improvements on DB were not being used at all. This means that even though Dietrich reproduce this bug on a build with my patches, the code that I added was simply not being used. So, hopefully, once my patch for bug 735660 reaches Nightly, this bug will actually be fixed.
Assignee | ||
Comment 13•12 years ago
|
||
I think the most outcome for this bug should be a talos test for the awesomebar filter function. This way we can have a better picture of what kind of performance we have on a history table with a few thousand entries.
Assignee | ||
Comment 14•12 years ago
|
||
Attachment #606595 -
Flags: review?(gbrown)
Assignee | ||
Comment 15•12 years ago
|
||
Attachment #606596 -
Flags: review?(gbrown)
Assignee | ||
Comment 16•12 years ago
|
||
Attachment #606597 -
Flags: review?(gbrown)
Assignee | ||
Comment 17•12 years ago
|
||
These patches add a talos test for our awesomebar filter query. It adds 10k rows to history then runs the query with a known value. This should allow us to spot regressions and to track awesomebar DB performance from now on.
Updated•12 years ago
|
Attachment #606595 -
Flags: review?(gbrown) → review+
Updated•12 years ago
|
Attachment #606596 -
Flags: review?(gbrown) → review+
Comment 18•12 years ago
|
||
Comment on attachment 606597 [details] [diff] [review] (3/3) Add Talos test for AwesomeBar frecency filter This test looks good to me but I want to get Joel's input since I am not as familiar with Talos. I think we want the new test listed in the Talos section of robocop.ini and commented out, like testPan and testCheck. Joel, is that right? I am seeing run times for testBrowserProviderPerf of about 180 seconds -- is that reasonable for a Talos test?
Attachment #606597 -
Flags: feedback?(jmaher)
Comment 19•12 years ago
|
||
Comment on attachment 606597 [details] [diff] [review] (3/3) Add Talos test for AwesomeBar frecency filter Review of attachment 606597 [details] [diff] [review]: ----------------------------------------------------------------- there is no UI interaction? Does this need to be a robocop based test? 180 seconds is not a big deal. It is longer, but we have a lot of tests which are much longer. Do you want to measure the time, or another factor? How stable is the number over 10 runs? ::: mobile/android/base/tests/robocop.ini @@ +13,5 @@ > [testPasswordProvider] > [testPasswordEncrypt] > [testFormHistory] > [testBrowserProvider] > +[testBrowserProviderPerf] this is a talos test, please put in the section below as :gbrown mentioned.
Attachment #606597 -
Flags: feedback?(jmaher) → feedback+
Comment 20•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #19) > 180 seconds is not a big deal. It is longer, but we have a lot of tests > which are much longer. Do you want to measure the time, or another factor? > How stable is the number over 10 runs? Most of the 180 second run-time is spent inserting history entries; after that is set up, the test measures and reports only the time for a filter operation, which is relatively quick: For 3 runs I got 273, 264, 269 ms.
Comment 21•12 years ago
|
||
great, those are fairly consistent. The more runs the better, but at 3 minutes+/run, this could take a long time if we do 10 iterations. Will 5 data points averaged out be good for reporting?
Assignee | ||
Comment 22•12 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #21) > great, those are fairly consistent. The more runs the better, but at 3 > minutes+/run, this could take a long time if we do 10 iterations. Will 5 > data points averaged out be good for reporting? Yes, 5 data points averaged should be enough.
Assignee | ||
Comment 23•12 years ago
|
||
Attachment #607170 -
Flags: review?(gbrown)
Assignee | ||
Updated•12 years ago
|
Attachment #606597 -
Attachment is obsolete: true
Attachment #606597 -
Flags: review?(gbrown)
Assignee | ||
Comment 24•12 years ago
|
||
This patch moves the test to the right section of robocop.ini
Updated•12 years ago
|
Attachment #607170 -
Flags: review?(gbrown) → review+
Assignee | ||
Comment 25•12 years ago
|
||
Pushed: http://hg.mozilla.org/integration/mozilla-inbound/rev/c46674a93ef0 http://hg.mozilla.org/integration/mozilla-inbound/rev/13a22b4849b4 http://hg.mozilla.org/integration/mozilla-inbound/rev/991782b44d41
Updated•12 years ago
|
OS: Mac OS X → Android
Hardware: x86 → ARM
Whiteboard: [QA+]
Comment 26•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c46674a93ef0 https://hg.mozilla.org/mozilla-central/rev/13a22b4849b4 https://hg.mozilla.org/mozilla-central/rev/991782b44d41
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Comment 27•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/92c37fb62be5 https://hg.mozilla.org/releases/mozilla-aurora/rev/804baf4a522d https://hg.mozilla.org/releases/mozilla-aurora/rev/5c7568cddff5
status-firefox13:
--- → affected
status-firefox14:
--- → affected
Updated•12 years ago
|
Reporter | ||
Comment 28•12 years ago
|
||
I'm still seeing long delay fairly often when loading top sites and about:home (which loads some top sites). Using Nightly build 4/09.
Comment 29•12 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #28) > I'm still seeing long delay fairly often when loading top sites and > about:home (which loads some top sites). Using Nightly build 4/09. Delays are not out of the question depending on the phone, the OS version and the amount of data you have in the DB. Is it still ~ 3 seconds? The original bug we fixed took a ~15 sec delay to ~2. Using a newer version of Android (with it's newer version of sqlite) took it <1 sec.
Comment 30•12 years ago
|
||
Also, do you see a delay when tapping in the awesomebar?
Reporter | ||
Comment 31•12 years ago
|
||
just tried a cold start and top sites in about:home took 12 seconds to load. (In reply to Mark Finkle (:mfinkle) from comment #30) > Also, do you see a delay when tapping in the awesomebar? i've seen 3+ second delays there recently. i just tried a few times at cold start and got 1-2 seconds.
Reporter | ||
Comment 32•12 years ago
|
||
ok, if i cold start and as quick as possible focus the location bar, i can get 4 seconds to load it. db contention as top sites are probably also loading?
Comment 33•12 years ago
|
||
Verified fixed on: Firefox 14.0a2, Firefox 15.0a1 (2012-05-02) Device: Samsung Captivate OS: Android 2.2
Updated•12 years ago
|
Whiteboard: [QA+]
Updated•3 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
•