Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
This commit is contained in:
@@ -85,7 +85,7 @@ class SessionFactory
|
||||
$session = new Session\Native($baseURL, $handler);
|
||||
}
|
||||
} finally {
|
||||
$profiler->saveTimestamp($stamp1, 'parser', System::callstack());
|
||||
$profiler->saveTimestamp($stamp1, 'parser');
|
||||
return $session;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user