Measure PHP execution time
<?php $start = microtime(true); $rand = rand(1, 100000); echo $rand.'<br>'; $time = $start - $_SERVER["REQUEST_TIME_FLOAT"]; echo '<br> Time elapsed: '.$time; ?>