Created
December 19, 2016 17:29
-
-
Save AucT/d8cfd876e1ca3c9c4f98def27c039d97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$time_start = microtime(true); | |
//Your Content (i use sleep 2 seconds to for demo) | |
sleep(2); | |
$time_end = microtime(true); | |
$time = $time_end - $time_start; | |
echo 'Page generated in: '.$time.' seconds'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment