Created
November 26, 2018 14:09
-
-
Save EastSideCode/6bef7a8e61c1e63958136723a58beb44 to your computer and use it in GitHub Desktop.
Measuring PHP execution time
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
$start = microtime(true); | |
// code here | |
$time_elapsed_secs = microtime(true) - $start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment