Skip to content

Instantly share code, notes, and snippets.

@EastSideCode
Created November 26, 2018 14:09
Show Gist options
  • Save EastSideCode/6bef7a8e61c1e63958136723a58beb44 to your computer and use it in GitHub Desktop.
Save EastSideCode/6bef7a8e61c1e63958136723a58beb44 to your computer and use it in GitHub Desktop.
Measuring PHP execution time
$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