Firefox OS/Performance/Automation/Memory Consumption

From MozillaWiki
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
  • Email
  • 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

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

  1. Set up workload
  2. Restart B2G process

All Cases

  1. Invoke launch programmatically
  2. Inject the Performance Helper
  3. App instrumentation throws timeline events at appropriate times
  4. Performance helper observes events
  5. 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


[1]