Skip to main content
# b2gperf

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

## Prerequisites

You will need a
[Marionette enabled Firefox build](https://developer.mozilla.org/en-US/docs/Marionette/Builds)
that you can
[successfully connect to](https://developer.mozilla.org/en-US/docs/Marionette/Connecting_to_B2G).

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

Release files for b2gperf 0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for b2gperf 0.19
File Size Uploaded
b2gperf-0.19.tar.gz 12.1 kB Details

Release files / b2gperf-0.19.tar.gz

Download URL b2gperf-0.19.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
374d8928497a88bd3a247124d4e39b87aed4f69929d2120f4112343c47f78c66
BLAKE2b-256 checksum
How to use checksums
1b4b370a7009048d03f8f30c9107c6f8ec149773bae6cbe8647a21fb7b27e13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.32

1 release file

0.31

1 release file

0.30

1 release file

0.29

1 release file

0.28

1 release file

0.27

1 release file

0.26

1 release file

0.25

1 release file

0.24

1 release file

0.23

1 release file

0.22

1 release file

0.21

1 release file

0.20

1 release file

This release

0.19 This release

1 release file

0.18

1 release file

0.17

1 release file

0.16

1 release file

0.15

1 release file

0.14

1 release file

0.13

1 release file

0.12

1 release file

0.11

1 release file

0.10

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.1

1 release file

0.3

1 release file

0.2.1

1 release file

0.2

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page