Proxy benchmarking: CI performance gates that know the smallest regression they can resolve
If your CI has a performance gate, it has a smallest regression it can resolve and a number of runs that resolution costs. On our rig one A/B run per commit cannot gate at 1%; 12 paired rounds resolve about 2% (Modelled). This series is the method behind that: A/A floors, plans fixed before the data, a basis label on every number, an extended Nighthawk, and a fast agent-driven screen we checked against slow restart-paired runs before trusting it.
2 parts · one method · pre-registered · code and price-list data public: harness and data, our Nighthawk fork, loop daemon
Start here · part 1
How to benchmark a proxy's CPU when the noise is bigger than the effect
One A/B run per commit cannot gate at 1%. On our server, 12 paired rounds resolve about 2%.
For test-infrastructure and performance teams deciding what a benchmark result is allowed to claim.
Part 2
Envoy benchmarking with an extended Nighthawk: an agent-driven screen, checked against restarts
A 12-instance screen read −1.86 log points; a restart-paired run the same day read −1.88. Ratio 0.988.
For teams that want fast benchmark loops without trusting them blindly.
What has this method produced?
What the method caught before publication: a load-generator default that inflated the spread of paired differences from 1.3% to 6.9%, and a threshold whose point estimate came in 0.38 points under it while its interval crossed it, published as Not resolved. A build problem was caught too: three early verdicts of 37% to 89% rested on builds without optimization, and every binary is now copied out, checked and hashed. The numbers in Envoy performance, measured come out of the same method. Two of them: a PGO and ThinLTO rebuild of unmodified Envoy cut CPU per request by 20% to 40% against a standard optimized build of the same commit, and on v1.40.2 an lld ordering file cut cycles per request by 7% to 10%, with no training step. Both are Measured. Every row of the Envoy price list went through a written plan, a review and a paired session.
What do the labels mean?
Every number in this series carries one basis label: Measured, No verdict, Not resolved, Exploratory or Modelled. Part 1 defines each one and shows how a number gets its label.
Where are the code and the data?
The harness and the raw data behind every published price-list row are public in github.com/We-Amp/envoy-price-list, and our Nighthawk changes in our Nighthawk fork. The data from the loop’s two calibration sessions follows on the harness’s releases page. The harness code is under Apache 2.0 and the data under CC BY 4.0, as for the Envoy series. Corrections and your own results go to the harness’s issue tracker.
By Otto van der Schaaf, We-Amp ·