Visual performance regression tool for Google Benchmark traces.
pip install benchdiff
benchdiff --ref baseline.json --cur current.json| Document | Description |
|---|---|
| Usage Guide | CLI options and examples |
| Development | Architecture, API, contributing |
Compares two Google Benchmark JSON files and shows:
- Regressions (red/yellow) and improvements (green)
- Severity levels: minor (2%), moderate (5%), major (10%)
- Per-kernel aggregation for templated benchmarks
Quick Summary
-------------
Total compared | 105
Regressions | 8
Improvements | 67
Top entries
-----------
BM_MemcpyT<int>/262144 | real_time | +6.74% | regression | moderate
BM_AddVectorsT<int>/64 | real_time | -83.55% | improvement | none