cline/bench

Modern PHP benchmarking with comparisons, snapshots, and regression gates.

Maintainers

Package info

github.com/faustbrian/bench

pkg:composer/cline/bench

Statistics

Installs: 15

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-03-09 03:38 UTC

This package is auto-updated.

Last update: 2026-03-09 16:47:24 UTC


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 latest aliases
  • 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.