← back
regression detector (2026)
regression detector replays a codebase’s benchmarks across its git history, each commit built and run in its own locked-down Docker container, and flags the commits that changed how it performs.
Instead of a fixed “10% slower” rule, it measures how noisy each benchmark is on its own and only flags changes bigger than that noise. It tracks speed, memory and allocations separately, because a regression often shows up in only one of them.
Some of what it found:
- In Pebble, CockroachDB’s storage engine, commit
ae0e76fcc4 added one heap allocation every time an iterator is set up. The timing barely moved, but the allocation count did.
- Also in Pebble, allocations jumped from 2 to 1,002 per operation in February 2026, in the week of a change the Pebble team later reverted.
- In S2 compression, #1143 made the highest-compression mode 35–56% faster and cut its memory per operation from 4.7 MB to 24 KB. It catches improvements too.
You can run it on your own Go repo too. Pick two commits, and it compares their benchmarks on your own GitHub Actions, then shows the result here.
Pebble dashboard
S2 compression dashboard
Source code on GitHub
Try it on your repo
Open a report (example)