This is a quick way to see how long it's taking for a page of PHP code to process. It's not perfect but it's quick and dirty.
//put this at top
$start = microtime(true);
//put this at the end of your php page
$finish = microtime(true);
Note: If your page takes longer to execute than your server allows. Use the following line of code at the top of your PHP page to make the time unlimited. set_time_limit(0);