Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Performance test harness for B2G
Python JavaScript

This branch is 1 commit behind mozilla:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
b2gperf
.gitignore
CHANGELOG.md
MANIFEST.in
README.md
setup.py

README.md

b2gperf

b2gperf is a tool for testing the performance of Firefox OS.

Prerequisites

You will need a Marionette enabled Firefox build that you can successfully connect to.

Installation

Installation is simple:

pip install b2gperf

If you anticipate modifying b2gperf, you can instead:

git clone git://github.com/mozilla/b2gperf.git
cd b2gperf
python setup.py develop

Running

Usage: b2gperf [options] app_name [app_name] ...

For full usage details run `b2gperf --help`.

Test Variables

Currently the only test variable support is for a wifi network. If you want to connect to wifi before measuring performance, please specify a path to a JSON file that describes the network. For example:

{
  "wifi": {
    "ssid": "MyNetwork",
    "keyManagement": "WPA-PSK",
    "psk": "SecurePassword"
  }
}
Something went wrong with that request. Please try again.