Closed Bug 1117512 Opened 10 years ago Closed 6 years ago

[FFOS7715 v2.1][performance]The first time we launch broswer app after the device is powered on,it starts slow.

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:-)

RESOLVED WONTFIX
tracking-b2g -

People

(Reporter: David.Zhao, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [dp3])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20141119030200

Steps to reproduce:

1.waiting five minutes after boot
2.click browser icon and note down the time t1 at the same time.
3.note down the time t2 when the browser display completely.
4.calculate t2-t1
SPRD2.1 t2-t1:2.096s
SPRD1.4 t2-t1:1.679s
flame2.1 t2-t1:1.721s


Actual results:

SPRD2.1 t2-t1:2.096s
SPRD1.4 t2-t1:1.679s
flame2.1 t2-t1:1.721s


Expected results:

The three time consuming almost the same
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Vence,

Could you help find somebody to check this issue? Thank you very much.
Flags: needinfo?(vchen)
12-30 18:23:04.121 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_factory.js:109 in awf_handleEvent: bug388754 evt.type webapps-launch  //gecko dispatch “webapps-launch” event to gaia


12-30 18:23:04.211 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.187] bug388754 handling appcreated
12-30 18:23:04.211 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.194] bug388754 handling launchapp
12-30 18:23:04.211 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.194] bug388754 launchingapp://search.gaiamobile.org
12-30 18:23:04.221 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.196] bug388754  current is app://verticalhome.gaiamobile.org/index.html#root; next is app://search.gaiamobile.org/newtab.html  //from verticalhome to search app


12-30 18:23:04.231 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.199] bug388754 publish: activeappchanged
12-30 18:23:04.231 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.200] bug388754 === Active app now is: ,Browser,===
12-30 18:23:04.241 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.201] bug388754 before ready check[object Object][object Object]
12-30 18:23:04.471 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.353] bug388754 ready to open/closefalse
12-30 18:23:04.481 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.356] bug388754 === Active app now is: ,Browser,===
12-30 18:23:04.531 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.378] bug388754 handling appopening
12-30 18:23:04.541 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][48.380] bug388754 === Active app now is: ,Browser,===


12-30 18:23:04.601 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window.js:885 in aw__handle_mozbrowserloadstart: bug388 load start 
12-30 18:23:05.381 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window.js:912 in aw__handle_mozbrowserloadend: bug388 load end  //from mozbrowserloadstart to mozbrowserloadend, total time is 0.78s


12-30 18:23:05.401 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][49.361] bug388754 handling appopened
12-30 18:23:05.421 E/GeckoConsole( 1856): Content JS LOG at app://system.gaiamobile.org/js/app_window_manager.js:676 in awm_debug: [AppWindowManager][49.367] bug388754 === Active app now is: ,Browser,===


From the LOG, it spends 0.4s from gecko dispatching event to mozbrowserloadstart;
it spends 0.78s from mozbrowserloadstart to mozbrowserloadend;
it spends 0.04s from mozbrowserloadend to end.
Whiteboard: [dp3]
Blocks: 1123554
tracking-b2g: --- → -
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.