php check load time of website code example
Example: time to load php page
//Put this code at beginning of your page:
<?php $start_time = microtime(true); ?>
//Put this code at the end of your page:
This page was generated in <?php echo(number_format(microtime(true) - $start_time, 2)); ?> seconds.