Add the laravel start time to the benchmarker.

This commit is contained in:
Taylor Otwell 2011-08-02 10:28:28 -05:00
parent ecb4381d78
commit a474850071
1 changed files with 9 additions and 1 deletions

View File

@ -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.
// --------------------------------------------------------------