Git Product home page Git Product logo

b2gperf's Introduction

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

b2gperf's People

Contributors

davehunt avatar luser avatar rik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.