Skip to main content

App startup tests for B2G

Project description

# b2gperf

b2gperf is a tool for testing the performance of
[Firefox OS](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS).

## Requirements

Your device must be running a build of Firefox OS with
[Marionette](https://developer.mozilla.org/docs/Marionette) enabled.

## Installation

Installation is simple:

pip install b2gperf

If you anticipate modifying b2gperf, you can instead:

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

## Running

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

Options:
-h, --help show this help message and exit
--dz-url=str datazilla server url (default: https://datazilla.mozilla.org)
--dz-project=str datazilla project name
--dz-branch=str datazilla branch name
--dz-key=str oauth key for datazilla server
--dz-secret=str oauth secret for datazilla server
--delay=float duration (in seconds) to wait before each iteration
--log-level=str threshold for log output (default: INFO)
--iterations=int number of times to launch each app (default: 30)
--no-restart do not restart B2G between tests
--settle-time time to wait before initial launch (default: 60)
--testvars=str path to a json file with any test data required
--test-type=str type of test to run, valid types are: ['startup', 'scrollfps'] (default: startup)

## 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"
}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b2gperf-0.8.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file b2gperf-0.8.tar.gz.

File metadata

  • Download URL: b2gperf-0.8.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for b2gperf-0.8.tar.gz
Algorithm Hash digest
SHA256 397121f81c018b6b5889ba06ef4156e63afcb2f1256a372d0d67a05bd3f5bc93
MD5 6d9b751f87f576027d6accbe145a5160
BLAKE2b-256 ffd5648220e9ff1c245fb4e57366ad15cac079cb226764c1b584fbbe4bc3735c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page