PhpBench is a benchmarking framework for PHP.
Features:
- Generate reports and render them to different mediums (Console, HTML, Markdown, etc).
- Benchmarks executed in a separate process, no effective overhead, no autoloader polution.
- Control stability of results with multiple iterations and retry threshold.
- Support for running iterations concurrently.
- Memory usage statistics in addition to time.
- Parameterized benchmarking cases.
- Per-project configuration.
- Serialize results as XML and generate reports later.
- Before and After method specification.
- Nice command line interface.
- Fully extendable.
- Utilizes Tabular for creating custom reports.
- More..
See the official documentation
Aggregate reporte:
Verbose logging with customized report:
HTML report:
This library was influenced by the athletic benchmarking framework.


