Benchmarking tools for the Faster CPython project
Usage
This code lets you set up your own Github repo to run pyperformance benchmarks on your own self-hosted Github Action runners.
For example, you can see the Faster CPython team's benchmarking results .
Set up the repo
Create a new empty repository on Github and clone it locally.
Add bench_runner to your requirements.txt .
Replace the {VERSION} above with the latest version tag of bench_runner .
Create a virtual environment and install your requirements to it, for example:
python -m venv venv source venv/bin/activate python -m pip install -r requirements.txt
Generate workflows
Run the install script to generate the files to make the Github Actions work (from the root of your repo):
python -m bench_runner install
This will create some files in .github/workflows as well as some configuration files at the root of your repo.…