Display in seconds how long the page took to load.
Here is another simple code that will display how long the page took to load. Just add the code anywhere between <body> and </body>. You can change "Page loaded in" if you'd like to.
Page loaded in
<?php $load = microtime();
print (number_format($load,2));
?>
seconds.
In action:
Page loaded in 0.79 seconds.