Commit a4748500 by Taylor Otwell

Add the laravel start time to the benchmarker.

parent ecb4381d
......@@ -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.
......@@ -91,6 +94,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.
// --------------------------------------------------------------
error_reporting(E_ALL | E_STRICT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment