View Single Post
Old 11-27-2008, 02:20 AM  
scouser
marketer.
 
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
Avg load time of your pages?

Hi,
What are your avg load times for your pages? And what is considered good?

(Using this --

Code:
$starttime = microtime();
$startarray = explode(" ", $starttime);
$starttime = $startarray[1] + $startarray[0];
...
content
...
$endtime = microtime();
$endarray = explode(" ", $endtime);
$endtime = $endarray[1] + $endarray[0];
$totaltime = $endtime - $starttime;
$totaltime = round($totaltime,5); 
if ($totaltime>0) {
# save/display total time
}
else {
# negative time, due to splitting it (explode)
}
I am about 0.36s ... which seems quite slow to me? And that is an average - sometimes (quite rare though) its >1sec

If i turn off some database queries (just stats one) i knock off about 0.15s. And I've cached most things (that it makes sense to) to disk.
scouser is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote