Closed
Bug 1216556
Opened 6 years ago
Closed 6 years ago
Improve camera lazy loading
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S10 (30Oct)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
The camera application uses lazy loading but it can be improved to reduce startup time: 1) Storage takes a long time to get a response from the parent process. This should be moved out of lazy loading and into the startup process to ensure it is begun ASAP. 2) The confirm controller and view are only needed if an activity is triggered. We should lazy load the confirm controller based on that, because for the general case (no activity) we don't need it all. 3) MediaFrame and its dependencies take a long time to load during startup (estimated to be an extra 100-200ms). We only need these for the confirm view and the preview gallery, neither of which the user needs loaded to use the app to take pictures and record videos. As such, ensure that it is loaded on demand (note: verify extra latency on opening preview gallery is acceptable). 4) Other dependencies such DCF, image resizing, etc can also be loaded on demand to get into the app faster assuming the delays introduced on first load elsewhere are acceptable.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Attachment #8676275 -
Flags: review?(jdarcangelo)
Assignee | ||
Updated•6 years ago
|
Attachment #8676275 -
Flags: review?(jdarcangelo) → review?(dmarcos)
Updated•6 years ago
|
Attachment #8676275 -
Flags: review?(dmarcos) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 2•6 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/7fff750452a4c9eb2c8f5984ceea3281b0f184d0
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
You need to log in
before you can comment on or make changes to this bug.
Description
•