Closed Bug 1125785 Opened 11 years ago Closed 9 years ago

Gecko BootAnimation slows down boot time by a couple of seconds

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gerard-majax, Assigned: gerard-majax)

Details

(Keywords: perf)

While investigating boot time in context of bug 1100188 and bug 1124622, I have noticed that just having the bootanimation enabled slows down the boot process. That was measured this way: time from "Starting bootanimation" to triggering "shell.start()". Measures where done with hacks from bug 1124622. With bootanimation disabled (early return in "StartBootAnimation()"): > alex@portable-alex:~/codaz/Mozilla/b2g/devices/Flame/B2G.KK$ egrep 'Starting bootanimation|settings.js: preload: |shell.js: start:|shell_start: ' settings-perfs4.log > 01-26 10:48:01.547 3370 3370 I : Starting bootanimation with (1) format framebuffer > 01-26 10:48:04.597 3370 3370 I GeckoDump: *** [PERF] settings.js: preload: 1ms > 01-26 10:48:05.007 3370 3370 I GeckoDump: *** [PERF] shell.js: start: 0ms > 01-26 10:48:05.877 3370 3370 I GeckoDump: *** [PERF] shell.js: shell_start: 869ms > 01-26 10:49:36.957 3875 3875 I : Starting bootanimation with (1) format framebuffer > 01-26 10:49:39.927 3875 3875 I GeckoDump: *** [PERF] settings.js: preload: 0ms > 01-26 10:49:40.287 3875 3875 I GeckoDump: *** [PERF] shell.js: start: 0ms > 01-26 10:49:41.107 3875 3875 I GeckoDump: *** [PERF] shell.js: shell_start: 815ms So that's 4.33s and 4.15s. With bootanimation enabled: > alex@portable-alex:~/codaz/Mozilla/b2g/devices/Flame/B2G.KK$ egrep 'Starting bootanimation|settings.js: preload: |shell.js: start:|shell_start: ' settings-perfs4.log > 01-26 10:42:57.847 2794 2794 I : Starting bootanimation with (1) format framebuffer > 01-26 10:43:03.887 2794 2794 I GeckoDump: *** [PERF] settings.js: preload: 0ms > 01-26 10:43:04.257 2794 2794 I GeckoDump: *** [PERF] shell.js: start: 0ms > 01-26 10:43:05.077 2794 2794 I GeckoDump: *** [PERF] shell.js: shell_start: 820ms > alex@portable-alex:~/codaz/Mozilla/b2g/devices/Flame/B2G.KK$ egrep 'Starting bootanimation|settings.js: preload: |shell.js: start:|shell_start: ' settings-perfs4.log > 01-26 10:53:54.397 4521 4521 I : Starting bootanimation with (1) format framebuffer > 01-26 10:53:59.977 4521 4521 I GeckoDump: *** [PERF] settings.js: preload: 0ms > 01-26 10:54:00.387 4521 4521 I GeckoDump: *** [PERF] shell.js: start: 0ms > 01-26 10:54:01.237 4521 4521 I GeckoDump: *** [PERF] shell.js: shell_start: 854ms So that's 7.23s and 6.84s.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.