Skip to content

vanilla-php/benchmark-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

34e615f · Feb 8, 2021

History

26 Commits
Aug 16, 2015
Aug 16, 2015
Mar 1, 2018
May 12, 2018
Feb 8, 2021

Repository files navigation

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