Skip to main content

Rafn

Lightweight benchmark uploader for Rust Criterion, Java JMH, C# BenchmarkDotNet and C++ Google Benchmark projects.

A benchmark run in CI shows numbers for one commit, not whether a change made the code slower. rafn runs a project's existing benchmarks, saves the results as a snapshot per commit and reports regressions against the previous snapshot. It uploads snapshots to the rafn cloud service for trends and commit-to-commit comparison, and rafn bisect finds the commit that introduced a regression.

Installation

Method Command
Homebrew (macOS/Linux) brew install voron-software/tap/rafn
winget (Windows) winget install VoronSoftware.Rafn
pip pip install rafn
npm npm install -g @voron-software/rafn
cargo-binstall cargo binstall rafn
cargo install cargo install rafn

Quickstart

From the directory of a project that uses one of the supported frameworks, keep snapshots on disk with the local backend:

printf '[backend]\ntype = "local"\n' > rafn.toml
rafn bench        # runs the benchmarks and saves a snapshot for the current commit
# change the code, commit, then
rafn bench        # compares against the previous commit's snapshot and reports regressions

To upload snapshots to the rafn cloud service for trends and commit-to-commit comparison, switch to the cloud backend and provide a credential as described in the authentication guide.

Documentation

Guides for authentication, the GitHub Action, bisecting and the framework examples, and the architecture docs, are in the documentation index.

Contributing and license

See the contributing guide. rafn is licensed under Apache-2.0.

Metadata

Release files for rafn 0.2.0

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

Built distributions (wheels)

Table of built distributions (wheels) for rafn 0.2.0
File Actions
rafn-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for rafn-0.2.0-py3-none-win_amd64.whl
rafn-0.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for rafn-0.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
rafn-0.2.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for rafn-0.2.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
rafn-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for rafn-0.2.0-py3-none-macosx_11_0_arm64.whl
rafn-0.2.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for rafn-0.2.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 16.6 MB

Release files / rafn-0.2.0-py3-none-win_amd64.whl

Download URL rafn-0.2.0-py3-none-win_amd64.whl
Size 3.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
18b9d64416e83da632b904ca18837c4de0ebb268fce989bf39ee6314359520b0
BLAKE2b-256 checksum
How to use checksums
1492e3c57b73dbc8bcfbff5babe9bbe36f86584bad88c9ea3e776df64e5109f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / rafn-0.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL rafn-0.2.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e835681453d815a080625c77c2e7615054fe9dd111a5fe52c77cef8adeb3a169
BLAKE2b-256 checksum
How to use checksums
052cf0ee92e5d2a29f3de4dfb8502a858198bfd4073cc26c25ab3069f9c29d8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / rafn-0.2.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL rafn-0.2.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
534611dfb8598f765fe1beb41c6c183ffe2522edf45e297bdf267f5e00e850ed
BLAKE2b-256 checksum
How to use checksums
e429c8604859527cd1bce2cc1a4f861cbdd4bde77b9211f462f41d65ad9324c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / rafn-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL rafn-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 3.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
62b65c134b2622e4435a1cc737fb0f98770f4ce5defec34e4823b18842d6cb4b
BLAKE2b-256 checksum
How to use checksums
8868900311ff129107b12fe89dc49a91d8454f7b3ffe5b426e0d417055d49340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / rafn-0.2.0-py3-none-macosx_10_12_x86_64.whl

Download URL rafn-0.2.0-py3-none-macosx_10_12_x86_64.whl
Size 3.3 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
854b1037c61eee43e1d496b1c098448872f0ecdc8d995be19298535d341ccfd5
BLAKE2b-256 checksum
How to use checksums
761ee6127ef619255c292174b7a3819b8f74b19e0566710db3434059e64090d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for rafn 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for rafn-0.2.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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