Firefox OS/Performance/Automation/Memory Consumption
< Firefox OS | Performance | Automation
Jump to navigation
Jump to search
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
TBD
Project Roadmap
- Lead: Wander Lairson Costa
- Tracking Bug: 1044297
Milestone 1: Design | ||
---|---|---|
Test Design | Validity Review | |
All Cases | Bug | Bug |