Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bencher

> 数据库
Open source

Bencher - Continuous Benchmarking

875 stars0 likes2 views
WebsiteGitHub

About

Bencher - Continuous Benchmarking

Bencher

Run locally. Run in CI. Same bare metal every time.

Bencher is the first continuous benchmarking platform to run your existing benchmarks on the exact same bare metal both locally and in CI. It tracks results over time and fails the PR when there's a performance regression.

Built for teams where performance matters:

  • Databases
  • Compilers
  • Browsers
  • Runtimes
  • Networking stacks
  • Cryptographic libraries
  • Operating Systems

Most teams start on GitHub Actions runners with a benchmark comparison script. That approach breaks down when noisy shared CI runners hide real performance regressions.

  • Typical CI runners: >30% variance
  • Bencher Bare Metal runners: ** Use the GitHub Action with your project

The Problem

Shipping a performance regression is expensive:

  • A database regression on a hot path pages someone at 2am
  • A compiler regression silently makes every downstream build slower
  • A browser engine ships a 10% paint regression and users notice
  • A crypto library that adds a microsecond to a handshake breaks an SLA

Without trustworthy benchmarks in the PR workflow, you find out when users do.

Local benchmarks aren't reproducible. Every check means stopping work to pull the baseline branch and wait on a comparison. Most engineers skip it.

CI runners are shared and noisy. Noisy benchmarks train engineers to ignore alerts. Performance regressions silently ship.

If you can't tell a real regression from noise, the results are worthless. So teams stop looking.

How Bencher Works

  1. Run: Run your benchmarks locally or in CI using the exact same bare metal runners and your favorite benchmarking tools. The bencher CLI orchestrates running your benchmarks on bare metal and stores the results.
  2. Track: Track the results of your benchmarks over time. Monitor, query, and graph the results using the Bencher web console based on the source branch, testbed, benchmark, and measure.
  3. Catch: Catch performance regressions locally or in CI using the exact same bare metal hardware. Bencher uses state of the art, customizable analytics to detect performance regressions before they merge.

For the same reasons that unit tests are run to prevent feature regressions, benchmarks should be run with Bencher to prevent performance regressions. Performance bugs are bugs!

Example PR Comment

Bencher Report

ProjectBencher

Branch254/merge

Testbedubuntu-latest

1 ALERT: Threshold Boundary Limit exceeded!

BenchmarkMeasure UnitsViewBenchmark Result (Result Δ%)Upper Boundary (Limit %)

Adapter::JsonLatency microseconds (µs) plot alert threshold3.45 (+1.52%)3.36 (102.48%) Click to view all benchmark results

BenchmarkLatencyBenchmark Results microseconds (µs) (Result Δ%)Upper Boundary microseconds (µs) (Limit %)

Adapter::Json view plot view alert view threshold3.45 (+1.52%)3.36 (102.48%)

Adapter::Magic (JSON) view plot view threshold3.43 (+0.69%)3.60 (95.40%)

Adapter::Magic (Rust) view plot view threshold22.10 (-0.83%)24.73 (89.33%)

Adapter::Rust view plot view threshold2.31 (-2.76%)2.50 (92.21%)

Adapter::RustBench view plot view threshold2.30 (-3.11%)2.50 (91.87%) View full continuous benchmarking report in Bencher

The Bencher Suite

Bencher is a suite of bare metal continuous benchmarking tools:

  • bencher CLI: run benchmarks and publish results
  • Bencher API Server: store, query, and alert on results
  • Bencher Console: web UI for tracking and graphing
  • Bencher Bare Metal runner: bare metal benchmark execution

The best place to start is the Bare Metal Quickstart.

For on-prem deployments, check out the Bencher Self-Hosted Quickstart.

Documentation

  • Tutorial
    • Quickstart
    • Bare Metal Quickstart
    • Self-Hosted Quickstart
  • How To
    • Install CLI
    • Claim Benchmark Results
    • Track Benchmarks in CI
    • GitHub Actions
    • GitLab CI/CD
    • Track Custom Benchmarks
    • Track Build Time
    • Track File Size
    • Self-Hosted GitHub App
    • Self-Hosted Google OAuth
  • Explanation
    • Benchmarking Overview
    • Bare Metal Overview
    • bencher run
    • Bare Metal Images
    • Branches & Start Points
    • Testbeds & Specs
    • Thresholds & Alerts
    • Benchmark Adapters
    • Continuous Benchmarking
    • Bencher Self-Hosted
    • Bencher Talks
  • Reference
    • REST API
    • Bencher Metric Format
    • Bencher Compose
    • bencher noise
    • Console Server Config
    • API Server Config
    • Changelog
    • Roadmap
    • Prior Art
    • Architecture
    • Database Schema

Also available in:

  • 简体中文
  • Español
  • Português do Brasil
  • Русский
  • 日本語
  • Français
  • Deutsch
  • 한국어

Supported Benchmark Harnesses

  • {...} JSON
    • Custom benchmark harness support
    • Build Time (Compile Time)
    • File Size (Binary Size)
  • #️⃣ C#
    • BenchmarkDotNet
  • ➕ C++
    • Catch2
    • Google Benchmark
  • Dart
  • benchmark_harness
  • Go
  • go test -bench
  • ☕️ Java
    • Java Microbenchmark Harness (JMH)
  • JavaScript
  • Benchmark.js
  • console.time/console.timeEnd
  • Python
  • airspeed velocity
  • pytest-benchmark
  • ♦️ Ruby
    • Benchmark
  • Rust
  • libtest bench
  • Criterion
  • Iai
  • Gungraun (formerly Iai-Callgrind)
  • ❯_ Shell
    • Hyperfine

For more details see the explanation of benchmark harness adapters.

Don't see your harness? Open an issue →

Showcase

Microsoft CCF

Google Sedpack

GitLab Git

Servo

Mozilla Neqo

GreptimeDB

Diesel

clap

Rustls

Checkout all public projects.

What Engineers Say

Bencher is like CodeCov for performance metrics.

    Jonathan Woollett-Light
    

    
      @JonathanWoollett-Light

I think I'm in heaven. Now that I'm starting to see graphs of performance over time automatically from tests I'm running in CI. It's like this whole branch of errors can be caught and noticed sooner.

    Price Clark
    

    
      @gpwclark

95% of the time I don't want to think about my benchmarks. But when I need to, Bencher ensures that I have the detailed historical record waiting there for me. It's fire-and-forget.

    Joe Neeman
    

    
      @jneem

I've been looking for a public service like Bencher for about 10 years.

    Jamie Wilkinson
    

    
      @jaqx0r

Hosting

  • Bencher Cloud: Zero infrastructure to manage. On-demand bare metal runners, billed by the minute. Pay for your benchmark runs, not idle servers. Benchmark for free →
  • Bencher Self-Hosted: Deploy Bencher on your own infrastructure. Bare metal, Docker, or Kubernetes. Full control, no data leaving your environment. Deploy in 60 seconds →

GitHub Actions

Install the Bencher CLI using the GitHub Action, and use it for continuous benchmarking in your project.

yaml
name: Continuous Benchmarking with Bencher
on:
  push:
    branches: main
jobs:
  benchmark_with_bencher:
    name: Benchmark with Bencher
    runs-on: ubuntu-latest
    env:
      BENCHER_PROJECT: my-project-slug
      BENCHER_API_TOKEN: ${{ s

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustbenchmarkbenchmarkingcdci

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库