Skip to content

Developer guide

This is the documentation for contributing to Webperf Core or integrating it into your own systems.

Getting started as a developer

  1. Fork the repository
  2. Clone your fork locally
  3. Follow the local install
  4. Run python default.py --dependency and check everything is in place
  5. Read the contributing guide

Contents

Development environment

  • Python 3.13 or later. The regression tests run on 3.13; linting additionally runs on 3.10.
  • Node.js 24 or later.
  • Docker, required by the DNS test and handy for the rest.

Code quality

The project uses PyLint for Python and ESLint for JavaScript, and runs both in GitHub Actions on every change.

# Python
pip install pylint
pylint *.py

# JavaScript
npm run lint

Beyond linting there are per-test regression tests in .github/workflows/. They run a test against a known website and compare the result, so that a change in a shared helper doesn't quietly change the score of a different test.

Contact