/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php ... for ($i=0; $i < ITERATIONS; ++$i) { // something here we're testing. } echo "Test name: " . ($stop - $start) . " seconds". PHP_EOL; ?>
URL: http://www.garfieldtech.com/blog/magic-benchmarks