2017 © Pedro Peláez
 

library benchmark

Benchmarking library

image

crysalead/benchmark

Benchmarking library

  • Friday, February 19, 2016
  • by jails
  • Repository
  • 3 Watchers
  • 0 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Benchmark - Benchmark library

Build Status, (*1)

Installation

composer require crysalead/benchmark

Usage

use Lead\Benchmark\Benchmark;

$bench = new Benchmark();
$bench->repeat(10000);

$x = 'a param';
$bench->run('task1', function($x) { //Task1 }, $x);
$bench->run('task2', function($x) { //Task2 }, $x);
$bench->run('task3', function($x) { //Task3 }, $x);

echo $bench->report();

Acknowledgements

The Versions

19/02 2016

dev-master

9999999-dev

Benchmarking library

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

benchmark