Skip to content

stof/phpbench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpBench

PHPBench Logo Build Status StyleCI

PhpBench is a benchmarking framework for PHP.

Features:

  • Generate reports and render them to different mediums (Console, HTML, Markdown, etc).
  • Benchmarks executed in a separate process, no effective overhead, no autoloader polution.
  • Control stability of results with multiple iterations and retry threshold.
  • Memory usage statistics in addition to time.
  • Parameterized benchmarking cases.
  • Per-project configuration.
  • Serialize results as XML and generate reports later.
  • Before and After method / class specification.
  • Pause (recover) between iterations
  • Nice command line interface.
  • Fully extendable.
  • Utilizes Tabular for creating custom reports.
  • More..

Documentation and Installation Instructions

See the official documentation

Screenshots

Default output:

Default

Aggregate report with "dots" logger:

Aggregate

HTML report:

phpbench2

See also

This library was influenced by the athletic benchmarking framework.

About

PHP Benchmarking framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.9%
  • XSLT 2.9%
  • HTML 0.2%