2017 © Pedro Peláez
 

library phpbench

PHP Benchmarking Framework

image

phpbench/phpbench

PHP Benchmarking Framework

  • PHP
  • 118 Dependents
  • 4 Suggesters
  • 39 Forks
  • 61 Open issues
  • 82 Versions
  • 10 % Grown

The README.md

SWUbanner, (*1)

, (*2)

StandWithUkraine CI Documentation Latest Stable Version Total Downloads License, (*3)

PHPBench is a benchmark runner for PHP analogous to PHPUnit but for performance rather than correctness., (*4)

Features include:, (*5)

  • Revolutions: Repeat your code many times to determine average execution time.
  • Iterations: Sample your revolutions many times and review aggregated statistical data.
  • Process Isolation: Each iteration is executed in a separate process.
  • Reporting: Customizable reports and various output formats (e.g. console, CSV, Markdown, HTML).
  • Report storage and comparison: Store benchmarks locally to be used as a baseline reference, or to reference them later.
  • Memory Usage: Keep an eye on the amount of memory used by benchmarking subjects.
  • Assertions: Assert that code is performing within acceptable limits, or that it has not regressed from a previously recorded baseline.

See the documentation to find out more., (*6)

Installation

composer require phpbench/phpbench --dev

See the installation instructions for more options., (*7)

Documentation

Documentation is hosted on readthedocs., (*8)

Community

  • Follow @phpbench on Mastodon for the latest news.
  • Join the #phpbench channel on the Slack Symfony Devs channel.

Screenshots

Running benchmarks and comparing against a baseline:, (*9)

phpbench, (*10)

Aggregated report:, (*11)

image, (*12)

Blinken logger:, (*13)

phpbench-blinken, (*14)

HTML Bar Chart:, (*15)

Untitled, (*16)

Console Bar Chart:, (*17)

Untitled, (*18)

Contributing

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., (*19)

The Versions

13/01 2016

dev-allow_null_fname_xslt

dev-allow_null_fname_xslt

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

11/01 2016
03/01 2016
01/01 2016
29/12 2015
19/12 2015

0.8.0.x-dev

0.8.0.9999999-dev

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

19/12 2015

0.8.1

0.8.1.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

16/12 2015
13/12 2015

dev-timeunit

dev-timeunit

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

12/12 2015

dev-graphs

dev-graphs

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/11 2015

0.7.x-dev

0.7.9999999.9999999-dev

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/11 2015

0.7.0

0.7.0.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

16/11 2015

dev-string_concat_bench

dev-string_concat_bench

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

14/11 2015

dev-concurrent_runner

dev-concurrent_runner

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

12/11 2015

dev-arg_params

dev-arg_params

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

01/11 2015

0.6

0.6.0.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

09/10 2015

0.5

0.5.0.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

13/09 2015

dev-better_report_config_validation

dev-better_report_config_validation

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

09/08 2015

dev-before_after_param

dev-before_after_param

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

05/08 2015

dev-interface_suffix

dev-interface_suffix

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

30/07 2015

dev-use_classname

dev-use_classname

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

12/07 2015

dev-sqlite

dev-sqlite

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

27/06 2015

dev-aggregation_refactoring

dev-aggregation_refactoring

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

17/06 2015
13/06 2015

0.2.2

0.2.2.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

11/06 2015

0.2.1

0.2.1.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

11/06 2015

0.2

0.2.0.0

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

11/06 2015

dev-column_spec

dev-column_spec

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

06/06 2015

dev-report_steps

dev-report_steps

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

25/05 2015
14/05 2015

dev-refactoring_to_xml

dev-refactoring_to_xml

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires