Create bare bones app that represents theoretical lows for app startup perf

RESOLVED FIXED

Status

Firefox OS
Gaia
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: gaye, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
The app should do the minimum that a prototypical gaia app would need to do, while emitting the various startup events.

(1) Load a css file.
(2) Load a javascript file.
(3) Add an element to the DOM.
(4) Start a web worker.
(5) Fetch a value from the web worker.
(6) Send the value to the main thread.
(7) Display the value in the element already in the DOM.

Other possible considerations:

- localization?
- gaia web component polyfill?
- loading building blocks?
Created attachment 8601665 [details] [review]
[gaia] gaye:bug-1161633-test-startup-limit > mozilla-b2g:master
(Reporter)

Comment 2

3 years ago
Comment on attachment 8601665 [details] [review]
[gaia] gaye:bug-1161633-test-startup-limit > mozilla-b2g:master

Eli! Check out my cool new counting app
Attachment #8601665 - Flags: review?(eperelman)

Comment 3

3 years ago
Comment on attachment 8601665 [details] [review]
[gaia] gaye:bug-1161633-test-startup-limit > mozilla-b2g:master

Looks good to me. Counting <3
Attachment #8601665 - Flags: review?(eperelman) → review+
(Reporter)

Comment 4

3 years ago
Landed on master https://github.com/mozilla-b2g/gaia/commit/3e6fd1e0a478af2c95d09ce95c2c6de2de2fec14. I think there are still a few more things to do before this is "realistic". For instance, this isn't waiting for localization to be ready before rendering, but it's a good start.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.