Closed
Bug 985170
Opened 11 years ago
Closed 11 years ago
[B2G] [Marketplace] [The Weather Channel] App takes a long time to load when launching the app a second time
Categories
(Core :: Graphics, defect, P1)
Tracking
()
RESOLVED
DUPLICATE
of bug 984618
blocking-b2g | 1.4+ |
Tracking | Status | |
---|---|---|
b2g-v1.4 | --- | affected |
People
(Reporter: ckreinbring, Assigned: BenWa)
Details
(Keywords: perf, regression, Whiteboard: [c=progress p= s=2014.03.28 u=1.4] dogfood1.4)
Attachments
(3 files)
Description:
Launching the Weather Channel app after the first time takes a while to load the city weather page. The user does not see a prompt that the app is loading data.
Repro Steps:
1) Update Buri to Build ID: 20140317040204
2) Launch the Marketplace and download the Weather Channel app.
3) Return to the homescreen and launch The Weather Channel.
4) Navigate through the setup until the city weather page is reached.
5) Long tap on the Home button then swipe the Weather Channel card upwards to close it.
6) Relaunch The Weather Channel.
7) Observe the app as it is launched, and note how long it takes to go to the city weather page.
Actual:
The app launches, but there is no loading icon. The also takes a long time to load, about 15 seconds.
Expected:
The app launches and loads quickly. There is also a loading icon present as the app loads.
Environmental Variables
Device: Buri 1.4 mozilla RIL
Build ID: 20140317040204
Gecko: https://hg.mozilla.org/mozilla-central/rev/25cfa01ba054
Gaia: 8f802237927c7d5e024fb7dca054dd5efef6b2e6
Platform Version: 30.0a1
Firmware Version: V1.2-device.cfg
Notes:
Repro frequency: 100%
See attached video clip and logcat logs
Reporter | ||
Comment 1•11 years ago
|
||
On the Buri 1.3 mozilla RIL, there is still no loading icon but the subsequent launches are much faster, taking about 5.5 seconds.
Build ID: 20140318004002
Gecko: https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/cf2042938526
Gaia: 2ea2aab306bd1c941719160cdcb49ee9d755dc17
Platform Version: 28.0
Firmware Version: V1.2-device.cfg
Comment 2•11 years ago
|
||
The loading icon is really an app-specific issue, so I'd suggest filing that as a separate bug. Can you open a different bug for that?
As for the subsequent launch performance - can you provide measurements from a stopwatch on subsequent launch time for this app on 1.3 vs. 1.4 ran 5 times in a row?
Component: General → Performance
Flags: needinfo?(ckreinbring)
Summary: [B2G] [Marketplace] [The Weather Channel] App takes a long time to load when launching and has no loading icon → [B2G] [Marketplace] [The Weather Channel] App takes a long time to load when launching the app a second time
Reporter | ||
Comment 3•11 years ago
|
||
After five launch/close cycles, the 1.4 had an average load time of 10.5 seconds. This is an improvement over the original build, which was close to 15 seconds. The 1.3 had an average launch time of 6.5 seconds.
Flags: needinfo?(ckreinbring)
Updated•11 years ago
|
Priority: -- → P3
Whiteboard: dogfood1.4 → [c=progress p= s= u=] dogfood1.4
Comment 4•11 years ago
|
||
(In reply to ckreinbring from comment #3)
> After five launch/close cycles, the 1.4 had an average load time of 10.5
> seconds. This is an improvement over the original build, which was close to
> 15 seconds. The 1.3 had an average launch time of 6.5 seconds.
Can you also check 1.1 as a point of comparison?
Reporter | ||
Comment 5•11 years ago
|
||
On the 1.1 build, the average launch time was also 6.5 seconds.
Build ID: 20140318041202
Gecko: https://hg.mozilla.org/releases/mozilla-b2g18/rev/2c70ef07c5b3
Gaia: 44a2ddf63373f8e95c784faf4ed4d60081699c61
Platform Version: 18.1
Firmware Version: V1.2-device.cfg
Comment 6•11 years ago
|
||
Okay - so we've got a gecko regression here then by roughly 4 seconds on a partner app.
blocking-b2g: --- → 1.4?
Comment 7•11 years ago
|
||
Oh and leaving qawanted here to see if this reproduces with tiling disabled.
Keywords: regressionwindow-wanted → qawanted
Comment 8•11 years ago
|
||
Per the video it does seem fairly long for the launch of the weather channel.
blocking-b2g: 1.4? → 1.4+
Updated•11 years ago
|
QA Contact: jschmitt
Comment 9•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #7)
> Oh and leaving qawanted here to see if this reproduces with tiling disabled.
With tiling disabled The Weather Channel takes around 7.0 seconds to fully load to the city of choice. There is no loading icon either.
Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140320000349
Gaia: 53edbf08b0a750c31e8c6b2c20f2b1315b1412d1
Gecko: 9b482d6994fd
Version: 30.0a2
Firmware Version: V1.2-device.cfg
Keywords: qawanted
Comment 10•11 years ago
|
||
We need a logcat here.
We do know this is a tiling regression though.
Blocks: b2g-tiling
Component: Performance → Graphics
Keywords: qawanted
Product: Firefox OS → Core
Version: unspecified → 30 Branch
Updated•11 years ago
|
Priority: P3 → P1
Whiteboard: [c=progress p= s= u=] dogfood1.4 → [c=progress p= s= u=1.4] dogfood1.4
Comment 11•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #10)
> We need a logcat here.
>
> We do know this is a tiling regression though.
Attached is the requested logcat.
Comment 12•11 years ago
|
||
Lots of genlock errors in the logcat.
03-20 16:35:30.849: E/libgenlock(751): perform_lock_unlock_operation: GENLOCK_IOC_DREADLOCK failed (lockType0x1, err=Connection timed out fd=31)
Comment 13•11 years ago
|
||
I'm adding the dependency here to bug 984618 as the same genlock errors are seen in both bugs & bug 984618 has a patch. When that lands, we should retest this.
Depends on: 984618
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(bgirard)
Assignee | ||
Comment 14•11 years ago
|
||
Flags: needinfo?(bgirard)
Assignee | ||
Comment 15•11 years ago
|
||
I'm seeing a multisecond IPC call to GetCookieString at:
__futex_syscall3
IPDL::PCookieService::SendGetCookieString
crtg_getCookie() @ http://m.uk.weather.com/:1289
<Anonymous>() @ http://m.uk.weather.com/:1285
js::RunScript
JS::EvaluateString
html5::RunFlushLoop
Startup::XRE_InitChildProcess
(root)
and:
__futex_syscall3
IPDL::PCookieService::SendGetCookieString
jQuery.cookie() @ jquery-1.7.1-IE7-twccore.min.js:208
TWC.initpco/init() @ pco:649
TWC.initpco() @ pco:117
<Anonymous>() @ http://m.uk.weather.com/:1320
js::RunScript
JS::EvaluateString
html5::RunFlushLoop
Startup::XRE_InitChildProcess
(root)
Those are the major bottlenecks. This app also forces several reflows that hurt the performance a bit.
Assignee | ||
Comment 16•11 years ago
|
||
Here's a profile of the entire system. I'm actually not seeing the GetCookieString anymore. I'm instead seeing 8 seconds of idle time during the startup:
http://people.mozilla.org/~bgirard/cleopatra/#report=b3a5a788f8a1e29c75a1ce9b2d2d66b91638e689
I don't see any platform bugs other than bug 987951.
Comment 17•11 years ago
|
||
So, the bug 984618 issues were just masking a problem that is elsewhere?
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #17)
> So, the bug 984618 issues were just masking a problem that is elsewhere?
I think bug 984618 were accounting for some large delays but they were not the only cause of delay.
I'm not sure if the cookie stuff is generally reproducible or was just a rare instance of the main process being slow (maybe even because of bug 984618).
I was able to reproduce bug 987951 reliably however.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bgirard
Comment 19•11 years ago
|
||
On latest master, this is the result:
With HWC enabled: 15.5 Seconds until it reaches the city weather page, and it shows rendering error like bug 984618 in the end.
With HWC disabled: 6.5 seconds until it reaches the city weather page, and there is no rendering error.
Gaia 80af23f8c74d9d2e9388d8ed3c204040b5c528ec │
│ Gecko https://hg.mozilla.org/mozilla-central/rev/c69c55582faa │
│ BuildID 20140326040202 │
│ Version 31.0a1
Comment 21•11 years ago
|
||
The performance is much better with HWC enabled on today's master branch:
With HWC enabled / disabled: 4 seconds until it reaches the city weather page, and there is no rendering error.
│ Gaia 9da1b9c11bf518bce882be305ae121c44c5d1e05 │
│ Gecko https://hg.mozilla.org/mozilla-central/rev/9afe2a1145bd │
│ BuildID 20140327040202 │
│ Version 31.0a1
Keywords: qawanted
Updated•11 years ago
|
Updated•11 years ago
|
Whiteboard: [c=progress p= s= u=1.4] dogfood1.4 → [c=progress p= s=2014.03.28 u=1.4] dogfood1.4
You need to log in
before you can comment on or make changes to this bug.
Description
•