PHP Benchmarking framework
PHPBench is a benchmark runner for PHP analogous to PHPUnit but for performance rather than correctness.
Features include:
See the documentation to find out more.
composer require phpbench/phpbench --dev
See the installation instructions for more options.
Documentation is hosted on readthedocs.
#phpbench
channel on the Slack Symfony
Devs
channel.Running benchmarks and comparing against a baseline:
Aggregated report:
Blinken logger:
HTML Bar Chart:
Console Bar Chart:
PHPBench is an open source project. If you find a problem or want to discuss new features or improvements please create an issue, and/or if possible create a pull request.