TestEngineering/Performance/Raptor/Browsertime

From MozillaWiki
Jump to navigation Jump to search

Browsertime is a harness for running performance tests, similar to Mozilla's Raptor testing framework. Browsertime is written in Node.js and uses Selenium WebDriver to drive multiple browsers including Chrome, Chrome for Android, Firefox, and (pending the resolution of Bug 1525126 and similar tickets) Firefox for Android and GeckoView-based vehicles.

Source code:

Page-load tests

Running Locally

Prerequisites

  • A local mozilla repository clone with a successful Firefox build completed
  • Run ./mach browsertime --setup
  • If you plan on running Browsertime on Android, your Android device must already be set up (see more below in the Android section)

Running on Firefox Desktop

Running on Google Chrome

Running on the Android GeckoView Example app

Running Browsertime on Try