PHPackages                             cline/bench - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. cline/bench

ActiveLibrary[Testing &amp; Quality](/categories/testing)

cline/bench
===========

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

1.1.1(3mo ago)061↓77.8%2MITPHPPHP ^8.5.0

Since Mar 8Pushed 3mo agoCompare

[ Source](https://github.com/faustbrian/bench)[ Packagist](https://packagist.org/packages/cline/bench)[ RSS](/packages/cline-bench/feed)WikiDiscussions 1.x Synced 3w ago

READMEChangelog (3)Dependencies (8)Versions (5)Used By (2)

[![GitHub Workflow Status](https://github.com/faustbrian/bench/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/bench/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/acd1de06e8151fed3685b2ce1e3056d53a2afa1e8df5bed40d6646e97c9edffc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f62656e63682e737667)](https://packagist.org/packages/cline/bench)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ffc0098087ace60d0f52977562c7f7fcb6b316cead78eb0d20f6f43b218c88cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f62656e63682e737667)](https://packagist.org/packages/cline/bench)

bench
=====

[](#bench)

`bench` is a modern PHP benchmarking package built around attributes, snapshots, saved runs, calibration, process isolation, and comparison-first reporting.

Requirements
------------

[](#requirements)

- PHP 8.5+

Installation
------------

[](#installation)

```
composer require --dev cline/bench
```

Documentation
-------------

[](#documentation)

- [USAGE](USAGE.md) for detailed authoring, CLI, config, and regression workflows
- [CONTRIBUTING](CONTRIBUTING.md) for development workflow
- [CHANGELOG](CHANGELOG.md) for released changes

Highlights
----------

[](#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
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/bench/security) rather than the issue queue.

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance82

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

5

Last Release

97d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (25 commits)")

---

Tags

php

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cline-bench/health.svg)

```
[![Health](https://phpackages.com/badges/cline-bench/health.svg)](https://phpackages.com/packages/cline-bench)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[phparkitect/phparkitect

Enforce architectural constraints in your PHP applications

9184.1M24](/packages/phparkitect-phparkitect)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[testo/testo

A lightweight PHP testing framework.

1923.4k32](/packages/testo-testo)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10139.4k5](/packages/bitrix24-b24phpsdk)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
