Skip to content

Instantly share code, notes, and snippets.

@ryantbrown
Last active August 29, 2015 14:00
Show Gist options
  • Save ryantbrown/11361133 to your computer and use it in GitHub Desktop.
Save ryantbrown/11361133 to your computer and use it in GitHub Desktop.
<?php
// app/start/global.php
$start = microtime(true);
App::finish(function() use ($start) {
echo "<script>console.log('App finish: ".round((microtime(true)-$start)*1000,3)." ms')</script>";
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment