Run bench.php in CI to catch overhead regressions. Report:
- Vanilla PHP (no extension)
- Extension loaded, no trigger
- Extension loaded, trigger present, no client
What to do
- Add a benchmark job to a separate
benchmark.yml
- Run
bench.php 5× in each configuration, report median
- Fail CI if "loaded, no trigger" overhead exceeds 6% (currently ~4%)
- Store results as CI artifact for historical tracking
Acceptance criteria