Last active
June 10, 2016 09:30
-
-
Save eddturtle/10847108 to your computer and use it in GitHub Desktop.
PHP Execution Timing
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
<?php | |
// http://stackoverflow.com/questions/17035859/how-to-find-php-execution-time | |
sleep(1); | |
$time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"]; | |
echo "Process Time: {$time}"; | |
// Process Time: 1.0061590671539 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment