I am trying to make a home-built page loading tester.
I grab the milliseconds at the very top of the page:
<? $startTime = microtime(); ?>
And check it in the footer...
<? $endTime = microtime(); ?>
then subtract it all & x .001 to get seconds...
<? echo "Loading time: " . (($endTime - $startTime) * 0.001) . " seconds"; ?>
The numbers I get are always soo low, even after dumping my cache, does this not take into account my images etc?
http://fish-minnesota.com/ (look in the footer for the time)
|