UNMAINTAINED! Check out polyfractal's Athletic instead
https://github.com/anlutro/phpbench.git

In early development stages. Nothing to be considered stable.
Inspired by PHPUnit, aimed to provide a simple way to measure PHP code's performance.
./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.
You can control the number of iterations yourself by doing a for loop or use an annotation as shown in the example.