Firefox OS/Performance/Automation/Memory Consumption: Difference between revisions
< Firefox OS | Performance | Automation
Jump to navigation
Jump to search
(→Design) |
|||
Line 70: | Line 70: | ||
==== Common Setup ==== | ==== Common Setup ==== | ||
# Set up workload | |||
# Restart B2G process | |||
==== | ==== All Cases ==== | ||
# Invoke launch programmatically | |||
# | # Inject the Performance Helper | ||
# App instrumentation throws timeline events at appropriate times | |||
# Performance helper observes events | |||
# After moz-app-loaded event grab memory usage parameters for the app and b2g process | |||
==== Results ==== | |||
* Result is the memory usage summary for app and b2g process. | |||
* | |||
=== Results === | === Results === |
Revision as of 15:14, 31 July 2014
Memory Consumption
Summary
Measures memory consumption of the application and b2g process after moz-app-loaded event.
Usage
Test Cases
Launch each of the following apps:
- Browser
- Calendar
- Camera
- Clock
- Contacts
- Dialer
- FM Radio
- Gallery
- Marketplace
- Music
- Settings
- SMS
- Template
- Usage
- Video
For each app, report the the memory usage after the moz-app-loaded event, for both the app and b2g process.
Precision
TBD
How to Run On-Demand
TBD
Published Results
TBD
References
- What every programmer should know about memory
- Why mobile web apps are slow
- Firefox OS App Responsiveness Guidelines
Development
Design
Memory usage parameters
Parameter | Description |
---|---|
VSS | Virtual set size |
RSS | Resident set size |
USS | Unique set size |
PSS | Proportional set size |
Common Setup
- Set up workload
- Restart B2G process
All Cases
- Invoke launch programmatically
- Inject the Performance Helper
- App instrumentation throws timeline events at appropriate times
- Performance helper observes events
- After moz-app-loaded event grab memory usage parameters for the app and b2g process
Results
- Result is the memory usage summary for app and b2g process.
Results
- Repetition, results, etc.
Common Teardown
- Step 1
- Step 2
Project Roadmap
- Lead: Wander Lairson Costa
- 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 | Bug | Bug | Bug | Bug | Bug |
Calendar | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Camera | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Clock | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Contacts | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Dialer | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
TBD | Bug | Bug | Bug | Bug | Bug | Bug | |
FM Radio | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Gallery | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Marketplace | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Music | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Settings | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
SMS | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Template | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Usage | TBD | Bug | Bug | Bug | Bug | Bug | Bug |
Video | TBD | Bug | Bug | Bug | Bug | Bug | Bug |