File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ public function run()
139
139
$ this ->loadFrameworkConstants ();
140
140
$ this ->setupAutoloader ();
141
141
$ this ->setExceptionHandling ();
142
- $ this ->startBenchmark ();
143
142
$ this ->loadComposerAutoloader ();
143
+ $ this ->startBenchmark ();
144
144
145
145
//--------------------------------------------------------------------
146
146
// Is there a "pre-system" hook?
@@ -247,9 +247,11 @@ protected function setExceptionHandling()
247
247
*/
248
248
protected function startBenchmark ()
249
249
{
250
+ $ this ->startTime = microtime (true );
251
+
250
252
$ this ->benchmark = Services::timer (true );
251
253
$ this ->benchmark ->start ('total_execution ' , $ this ->startTime );
252
- $ this ->benchmark ->start ('bootstrap ' , $ this -> startTime );
254
+ $ this ->benchmark ->start ('bootstrap ' );
253
255
}
254
256
255
257
//--------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments