Back to services

Bencher

Suite of continuous benchmarking tools designed to catch performance regressions in CI.

View alternatives to Bencher
Suggest edit
Open source
Self-hostable
MIT, Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Bencher is a Continuous Benchmarking platform that catches performance regressions before they get merged into the main branch. One user compared it to "CodeCov for performance metrics": it automatically runs benchmarks on every PR, tracks the results, and reports changes.

The Problem It Solves

Shared CI runners suffer from CPU contention, memory competition, and scheduling jitter, so running the same benchmark twice can produce very different results. The official website says the variance on ordinary CI runners is often over 30%. When results are this noisy, engineers gradually stop paying attention to alerts, and real performance regressions can slip quietly into production.

Bencher Bare Metal runs benchmarks in isolation on dedicated bare metal hardware, and the official website says variance can be kept within 2%. That way, when a number changes, it almost certainly means performance really has changed.

How It Works

  1. Run benchmarks: Run them locally or in CI, on the exact same bare metal runners and with the benchmark tools you already use. The bencher CLI schedules runs on bare metal and stores the results.
  2. Track results: Results are recorded over time by source branch and testbed. You can monitor, query, and chart them through the bencher CLI or the Bencher Web console.
  3. Catch regressions: Use customizable statistical analysis and thresholds to detect performance regressions. When a threshold is exceeded, an alert is generated, and you can also use --error-on-alert to fail the build.

Development and Code Review Integration

  • Development: Wherever your code can run, the bencher CLI can run, so you can catch regressions before you even push your code. AI coding agents can also run benchmarks directly on bare metal without human involvement.
  • Review: The results of every benchmark run appear as a PR comment (for example, a Bencher Report posted by the GitHub Actions bot), containing the benchmark results, percentage change, threshold limits, and a link to any alerts. There's no need to check a dashboard separately or run tests manually.

Supported Benchmark Tools

Bencher integrates with your existing benchmark tools:

  • Rust: Criterion, libtest bench, Iai, Gungraun
  • C++: Google Benchmark, Catch2
  • Python: pytest-benchmark, airspeed velocity
  • Java: JMH
  • C#: BenchmarkDotNet
  • JavaScript: Benchmark.js, console.time, Vitest
  • Go: go test -bench
  • Ruby: Benchmark
  • Dart: benchmark_harness
  • Shell: Hyperfine

If the tool you use isn't listed, you can submit an adapter request on GitHub.

Deployment Options

  • Self-hosted (open source): Deploy on your own infrastructure, with support for bare metal, Docker, or Kubernetes. You have full control, and your data never leaves your environment. The official documentation provides a quick-start tutorial for self-hosting.
  • Bencher Cloud (officially recommended): No need to manage your own infrastructure. Bare metal runners are available on demand and billed by the minute, so you only pay for the benchmark runs you actually perform. You can sign up for free to try it out.

Who It's For

  • Software engineering teams that care about performance and need to prevent performance regressions
  • Open source project maintainers (who can showcase their performance history through public projects)
  • Teams that already have benchmarks but struggle with noisy CI results

Additional Resources

The official website offers documentation, an API reference, Explore (a browser for public projects), an online Play environment, and learning materials. The source code is hosted on GitHub (bencherdev/bencher), and the community can be reached through Discord, Reddit, and other channels.