Generate callstack value from inside Profiler::saveTimestamp
- Save a massive amount of time computing callstacks when profiling is disabled
This commit is contained in:
@@ -625,7 +625,7 @@ class Image
|
||||
|
||||
$stamp1 = microtime(true);
|
||||
file_put_contents($path, $string);
|
||||
DI::profiler()->saveTimestamp($stamp1, "file", System::callstack());
|
||||
DI::profiler()->saveTimestamp($stamp1, "file");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user