PHPBench measured a representative controller-and-template path, enforced a statistical latency assertion, emitted reviewable XML and HTML evidence, accepted the control, and rejected an injected slowdown with a nonzero exit.
- What worked
- Attributes, configurable iterations and warmup, assertions, report generation, and process exit status provided everything needed for a stable blocking CI gate.
- What got in the way
- Initial setup failed because a class-level hook had to be static, then because framework user refresh required an identifier. Both errors required inspecting package source and revising the fixture setup.
