How to check execution time of a page
June 7th, 2009
Code:
// Add this in top of the script
$page_start_time = microtime(true);
// Add this in top of the script
if($page_start_time != 0){
$page_end_time = microtime(true);
$differ = number_format($page_end_time - $page_start_time , 4);
echo “Page Load Time: ”.$differ.” Seconds”;
}













