Skip to content
🚀 A benchmark script for PHP and MySQL (Archived)
PHP
Branch: master
Clone or download
Latest commit 9cfb46b Oct 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add folder Aug 16, 2015
LICENSE Update year Aug 16, 2015
README.md
_config.yml
benchmark.php Add Math result Oct 2, 2019

README.md

benchmark-php

This is a PHP benchmark script to compare the runtime speed of PHP and MySQL. This project is inspired by www.php-benchmark-script.com (Alessandro Torrisi) an www.webdesign-informatik.de. In my point of view this script is more correct and comparable for different servers.

Screenshot

benchmark_v12

Setup

Upload benchmark.php and execute it:
http://www.example.com/benchmark.php

MySQL Setup (optional)

  • Open benchmark.php
  • Edit this lines
$options['db.host'] = 'hostname';
$options['db.user'] = 'username';
$options['db.pw'] = 'password';
$options['db.name'] = 'database';
  • Upload and run the script
You can’t perform that action at this time.