Closed Bug 1161633 Opened 9 years ago Closed 9 years ago

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

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gaye, Unassigned)

Details

Attachments

(1 file)

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?
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 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+
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
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: