Firefox OS/Performance/Automation/Launch Latency: Difference between revisions
< Firefox OS | Performance | Automation
Jump to navigation
Jump to search
m (Lakrits moved page FirefoxOS/Performance/Automation/Launch Latency to Firefox OS/Performance/Automation/Launch Latency: The official spelling of "Firefox OS" leaves a space between the two parts of the name. It's easier to find a page if the sp...) |
|||
(8 intermediate revisions by one other user not shown) | |||
Line 91: | Line 91: | ||
==== Common Setup ==== | ==== Common Setup ==== | ||
# Set up workload | |||
# Restart B2G process | # Restart B2G process | ||
Line 101: | Line 102: | ||
==== Results ==== | ==== Results ==== | ||
* Result is time elapsed to each event | * Result is time elapsed to each event | ||
* Execute test 30 times, for each event report mean, median, deviation | * Execute test 30 times, for each event report mean, median, deviation | ||
Line 118: | Line 118: | ||
! Validity Review | ! Validity Review | ||
|- | |- | ||
| '''All Cases''' || || | | '''All Cases''' || Bug || Bug | ||
|- | |- | ||
|} | |} | ||
{| class="wikitable | {| class="wikitable" | ||
! width="120px" | | ! width="120px" | | ||
! | ! | ||
Line 171: | Line 171: | ||
|} | |} | ||
<small>[http://wiki.mozilla.org/FirefoxOS/Performance/Automation/ | <small>[http://wiki.mozilla.org/FirefoxOS/Performance/Automation/Metric_Template template]</small> |
Latest revision as of 13:59, 1 February 2015
Launch Latency
Summary
Measures elapsed time from the first launch of an application to a series of defined startup events.
Usage
Test Cases
Launch each of the following apps from a cold state:
- Browser
- Calendar
- Camera
- Clock
- Contacts
- Dialer
- FM Radio
- Gallery
- Marketplace
- Music
- Settings
- SMS
- Template
- Usage
- Video
For each app, report the time elapsed to the following events:
- moz-chrome-dom-loaded
- moz-chrome-interactive
- moz-app-visually-complete
- moz-content-interative
- moz-app-loaded
Precision
TBD
How to Run On-Demand
TBD
Published Results
FxOS 2.0
Flame | |
---|---|
startup_>_moz-chrome-dom-loaded | Datazilla |
startup_>_moz-chrome-interactive | Datazilla |
startup_>_moz-app-visually-complete | Datazilla |
startup_>_moz-content-interative | Datazilla |
startup_>_moz-app-loaded | Datazilla |
FxOS 2.1
Flame | |
---|---|
startup_>_moz-chrome-dom-loaded | Datazilla |
startup_>_moz-chrome-interactive | Datazilla |
startup_>_moz-app-visually-complete | Datazilla |
startup_>_moz-content-interative | Datazilla |
startup_>_moz-app-loaded | Datazilla |
References
Development
Design
Common Setup
- Set up workload
- Restart B2G process
All Cases
- Invoke launch programmatically
- Inject the Performance Helper and save start time
- App instrumentation throws timeline events at appropriate times
- Performance helper observes events
- Event emit times are compared with start time for time elapsed
Results
- Result is time elapsed to each event
- Execute test 30 times, for each event report mean, median, deviation
Project Roadmap
- Lead: Eli Perelman
- Tracking Bug: TBD
Milestone 1: Design | ||
---|---|---|
Test Design | Validity Review | |
All Cases | Bug | Bug |
Milestone 2: Test | Milestone 3: Publication | ||||||
---|---|---|---|---|---|---|---|
Availability | Instrumentation | Workload | On-Demand Test | Results Review | Published Results | Documentation | |
Browser | TBD | bug 837668 | Bug | Bug | Bug | Bug | Bug |
Calendar | TBD | bug 837671 | Bug | Bug | Bug | Bug | Bug |
Camera | TBD | bug 1015385 | N/A | Bug | Bug | Bug | Bug |
Clock | TBD | bug 837668 | N/A | Bug | Bug | Bug | Bug |
Contacts | TBD | bug 1015388 | Light | Bug | Bug | Bug | Bug |
Dialer | TBD | bug 837668 | Light | Bug | Bug | Bug | Bug |
TBD | bug 837677 | Bug | Bug | Bug | Bug | Bug | |
FM Radio | TBD | bug 1015412 | N/A | Bug | Bug | Bug | Bug |
Gallery | TBD | bug 837674 | Light | Bug | Bug | Bug | Bug |
Marketplace | TBD | bug 837668 | Bug | Bug | Bug | Bug | Bug |
Music | TBD | bug 837675 | Light | Bug | Bug | Bug | Bug |
Settings | TBD | bug 1015405 | N/A | Bug | Bug | Bug | Bug |
SMS | TBD | bug 1015390 | Light | Bug | Bug | Bug | Bug |
Template | TBD | bug 1015391 | N/A | Bug | Bug | Bug | Bug |
Usage | TBD | bug 837678 | N/A | Bug | Bug | Bug | Bug |
Video | TBD | bug 837658 | Light | Bug | Bug | Bug | Bug |