[PHP] Page Generation Time
This is a cool script that will help you see the number of seconds needed to load your pages.
/* This part of the script goes at the top of your page */
/* This part of the script goes where you want load time to be displayed */
Credits:
evidence / http://www.sythe.org/image-vp175499.html
/* This part of the script goes at the top of your page */
$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];
/* This part of the script goes where you want load time to be displayed */
$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
printf('Page loaded in %.3f seconds.', $totaltime);
Credits:
evidence / http://www.sythe.org/image-vp175499.html