PHPackages                             kocsismate/php-version-benchmarks - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kocsismate/php-version-benchmarks

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kocsismate/php-version-benchmarks
=================================

Official PHP benchmark suite

67135ShellCI passing

Since Sep 10Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/kocsismate/php-version-benchmarks)[ Packagist](https://packagist.org/packages/kocsismate/php-version-benchmarks)[ RSS](/packages/kocsismate-php-version-benchmarks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP Version Benchmark
=====================

[](#php-version-benchmark)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Results](#results)
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [Support](#support)
- [Credits](#credits)
- [License](#license)

Introduction
------------

[](#introduction)

This is a fully automated benchmark suite for comparing the performance of any PHP releases or branches. The framework is heavily inspired by Intel's work from quite a few years ago: [https://01.org/node/3774](https://web.archive.org/web/20210614053522/https://01.org/node/3774).

Results
-------

[](#results)

You can find the [benchmark results here](https://github.com/kocsismate/php-version-benchmarks/tree/main/docs/results).

Install
-------

[](#install)

You can simply download or clone this repository. You can also install it via [Composer](https://getcomposer.org) by running the command below:

```
$ composer require kocsismate/php-version-benchmarks:dev-main
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

All the configuration of the benchmark is done via `.ini` files in the `config` directory. By default, a few templates are bundled with the benchmark (having `.ini.dist` extension in their names). Feel free to rename them by removing the `.dist` suffix in order to take advantage of them.

### Usage on AWS EC2

[](#usage-on-aws-ec2)

As a prerequisite, you need the following:

- a UNIX system (Linux, Mac)
- git
- [Terraform](https://www.terraform.io)

Then you have to create the necessary AWS-related config file by copying the `aws.tfvars.dist` to `aws.tfvars` in the `build/infrastructure/config/aws.tfvars.dist` directory:

```
cp build/infrastructure/config/aws.tfvars.dist build/infrastructure/config/aws.tfvars
```

Then, you need to override some values in it:

- `access_key`: the access key of your AWS account
- `secret_key`: the secret access key of your AWS account
- `region`: it is "eu-central-1" by default, but you should choose the closest one to your area
- `state_bucket`: The S3 bucket name where the state file is stored

Now, you are ready to go:

```
./benchmark.sh run aws
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Support
-------

[](#support)

Please see [SUPPORT](SUPPORT.md) for details.

Credits
-------

[](#credits)

- [Máté Kocsis](https://github.com/kocsismate)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance56

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b84c2c00735d2c7408e53566b0a622d39998be610bc02856e1b887d40f7a8024?d=identicon)[woohoolabs](/maintainers/woohoolabs)

---

Top Contributors

[![kocsismate](https://avatars.githubusercontent.com/u/6057627?v=4)](https://github.com/kocsismate "kocsismate (365 commits)")[![arnaud-lb](https://avatars.githubusercontent.com/u/365207?v=4)](https://github.com/arnaud-lb "arnaud-lb (2 commits)")[![craigfrancis](https://avatars.githubusercontent.com/u/1296695?v=4)](https://github.com/craigfrancis "craigfrancis (2 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")

---

Tags

benchmarkphp

### Embed Badge

![Health badge](/badges/kocsismate-php-version-benchmarks/health.svg)

```
[![Health](https://phpackages.com/badges/kocsismate-php-version-benchmarks/health.svg)](https://phpackages.com/packages/kocsismate-php-version-benchmarks)
```

PHPackages © 2026

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