Timing Joomla page loading
If you want to time how long it takes to generate every page on a Joomla site then you can simply add the following code to your template file.
Add at the top of the template:
<?php
$tstart = mosProfiler::getmicrotime();
?>
Add to the bottom of the template:
<?php
$tend = mosProfiler::getmicrotime();
$totaltime = ($tend - $tstart);
printf("Page was generated in %f seconds", $totaltime);
?>
December 16, 2007 at 12:38 am
very interesting, but I don’t agree with you
Idetrorce
March 6, 2008 at 1:38 am
Blog
Blog