PHP benchmark suite
PHPBench is a benchmark suite for PHP. It performs a large number of simple tests in order to bench various aspects of the PHP interpreter. PHPBench can be used to compare hardware, operating systems, PHP versions, PHP accelerators and caches, compiler options, etc. Custom tests can be easily added to the suite.
The ‘tests’ directory contains all tests that PHPBench will try to perform.
This directory can be copied in:
In order to start a basic benchmark, just type:
./phpbench.php
or if something goes wrong:
php phpbench.php
or if you want to save the output to a file: