2017 © Pedro Peláez
 

library phpbench

PHP Benchmarking Framework

image

anlutro/phpbench

PHP Benchmarking Framework

  • Wednesday, February 12, 2014
  • by anlutro
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHPBench Build Status

PHP Benchmarking Framework

In early development stages. Nothing to be considered stable., (*1)

Inspired by PHPUnit, aimed to provide a simple way to measure PHP code's performance., (*2)

Usage

Install the package via composer and run ./vendor/bin/phpbench. This file scans {current working directory]/bench/ for files ending in Benchmark.php (classes must be named the same as the file) and runs all public methods beginning with "bench", providing output on the time it took., (*3)

You can control the number of iterations yourself by doing a for loop or use an annotation as shown in the example., (*4)

Contact

Open an issue on GitHub if you have any problems or suggestions., (*5)

License

The contents of this repository is released under the MIT license., (*6)

The Versions

12/02 2014

dev-master

9999999-dev

PHP Benchmarking Framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andreas Lutro