Add the laravel start time to the benchmarker.
This commit is contained in:
@@ -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 @@ spl_autoload_register(function($class)
|
||||
}
|
||||
});
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Register the framework starting time with the Benchmarker.
|
||||
// --------------------------------------------------------------
|
||||
System\Benchmark::$marks['laravel'] = $start;
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Set the error reporting and display levels.
|
||||
// --------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user