diff --git a/public/index.php b/public/index.php index 053eb6fa..11c3f6af 100644 --- a/public/index.php +++ b/public/index.php @@ -8,7 +8,10 @@ * @link http://laravel.com */ -$t = microtime(true); +// -------------------------------------------------------------- +// Get the framework start time. +// -------------------------------------------------------------- +$start = microtime(true); // -------------------------------------------------------------- // The path to the application directory. @@ -90,6 +93,11 @@ } }); +// -------------------------------------------------------------- +// Register the framework starting time with the Benchmarker. +// -------------------------------------------------------------- +System\Benchmark::$marks['laravel'] = $start; + // -------------------------------------------------------------- // Set the error reporting and display levels. // --------------------------------------------------------------