Simple PHP server benchmarking.
This tool can help you determine if a hosting environment is suited for your projects in terms of:
- PHP.ini setings that affect uploads;
- CPU speed available to your PHP instance;
- Disk IOPS available to your PHP instance;
composer create-project hyperized/benchmark
Copy the /config/config.yml.example
to /config/config.yml
and adjust to your preferences.
php benchmark.php
php -S localhost:8000 benchmark.php
Install on the server by running composer and visiting the /benchmark.php
page of the directory the project is installed at.
I'm open to improvements and new benchmarks via pull requests
Issues can be reported through Issues. Please include the full output of the script and your config file without the password.
Credit where credit is due: