cline/bench
Modern PHP benchmarking with comparisons, snapshots, and regression gates.
Maintainers
1.1.1
2026-03-18 16:45 UTC
Requires
- php: ^8.5.0
- nunomaduro/termwind: ^2.3
- symfony/console: ^7.4 || ^8.0
- symfony/finder: ^7.4 || ^8.0
Requires (Dev)
- cline/coding-standard: ^2.0.1
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.1
- rector/rector: ^2.0
- symfony/var-dumper: ^7.4.0 || ^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
👁 GitHub Workflow Status
👁 Latest Version on Packagist
👁 Software License
👁 Total Downloads
bench
bench is a modern PHP benchmarking package built around attributes,
snapshots, saved runs, calibration, process isolation, and
comparison-first reporting.
Requirements
- PHP 8.5+
Installation
composer require --dev cline/bench
Documentation
- USAGE for detailed authoring, CLI, config, and regression workflows
- CONTRIBUTING for development workflow
- CHANGELOG for released changes
Highlights
- attribute-first benchmark authoring
- built-in snapshots, saved runs, and
latestaliases - comparison tables with winners, reference gaps, reference gains, and
ops/s - regression assertions and comparison exit policies for CI
- parameterized benchmarks, groups, selectors, calibration, and process isolation
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
License
The MIT License. Please see License File for more information.
