usi la funzione microtime();
Nella doc PHP c'è questo esempio:
Codice PHP:
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$time_start = getmicrotime();
for ($i=0; $i < 1000; $i++){
//do nothing, 1000 times
}
$time_end = getmicrotime();
$time = $time_end - $time_start;
echo "Did nothing in $time seconds";
basta che al posto del for() con 1000 iterazioni metti il codice delle tue pagine e ottieni il tempo di esecuzione per ottenere la tua pagina.