Hola, ferny.
Prueba este código a ver si te sirve. Te aparece un alert con el tiempo que ha tardado en cargar la página en milisegundos (salvo error por mi parte)
Código PHP:
<html>
<head>
<title>Untitled Document</title>
<script>
var inicio=new Date();
inicio=inicio.getTime();
function ini() {
fin=new Date();
fin=fin.getTime();
tiempo=fin-inicio;
alert(tiempo);
}
</script>
</head>
<body onLoad="ini()">
</body>
</html>
Saludos,