mirror of
https://github.com/friendica/friendica
synced 2025-04-21 18:30:11 +00:00
Support for stacked profiler analysis
This commit is contained in:
parent
3cef3ab107
commit
c89533a70b
17 changed files with 763 additions and 611 deletions
|
@ -650,9 +650,9 @@ class Image
|
|||
|
||||
$string = $this->asString();
|
||||
|
||||
$stamp1 = microtime(true);
|
||||
DI::profiler()->stopRecording('file');
|
||||
file_put_contents($path, $string);
|
||||
DI::profiler()->saveTimestamp($stamp1, "file");
|
||||
DI::profiler()->stopRecording();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue