Skip to content

vanilla-php/benchmark-php

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 16, 2015
Mar 7, 2021

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:

HTML response:

http://www.example.com/benchmark.php

JSON response:

http://www.example.com/benchmark.php?json

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

About

🚀 A benchmark script for PHP and MySQL (Archived)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages