php-benchmark-script
php-benchmark-script copied to clipboard
A simple PHP script that helps you compare raw performance across servers and php versions
I can't understand why you don't define the database name as a variable and most shared hosts have prefixes for database and don't allow the script to create a database
``` @@ -132,7 +132,7 @@ rtrim($string); sha1($string); soundex($string); - str_getcsv($string); + str_getcsv($string, ",", "\"", "\\"); str_ireplace('fox', 'cat', $string); str_pad($string, 50); str_repeat($string, 10); \ No newline at end of file ```
First of all, thank you for adding the feature that supports using an existing database via config/parameters rather than the user having to edit it into the code. At the...
:~/benchmark$ php mysql.bench.php PHP Fatal error: Uncaught Error: Call to undefined function pushArgs() in /home/rolf/benchmark/mysql.bench.php:7 Stack trace: #0 {main} thrown in /home/rolf/benchmark/mysql.bench.php on line 7