Register Shutdown Function
// capture the start time
$start_time = microtime(true);
// do some stuff
// ...
// display how long the script took
echo "execution took: ".
(microtime(true) - $start_time).
"...
This blog helpful for beginners to solve some of the basic website development issues, wordpress issues, and seo realted issues easily.