mirror of
https://github.com/friendica/friendica
synced 2025-04-23 10: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
|
@ -88,9 +88,9 @@ class Theme
|
|||
return $info;
|
||||
}
|
||||
|
||||
$stamp1 = microtime(true);
|
||||
DI::profiler()->startRecording('file');
|
||||
$theme_file = file_get_contents("view/theme/$theme/theme.php");
|
||||
DI::profiler()->saveTimestamp($stamp1, "file");
|
||||
DI::profiler()->stopRecording();
|
||||
|
||||
$result = preg_match("|/\*.*\*/|msU", $theme_file, $matches);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue