mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 15:00:15 +00:00
Support for more fields
This commit is contained in:
parent
8340f3b1f4
commit
ed672a36f5
1 changed files with 3 additions and 2 deletions
|
@ -50,9 +50,10 @@ function rendertime_page_end(Friendica\App $a, &$o)
|
|||
|
||||
$total = microtime(true) - $profiler->get('start');
|
||||
$rest = $total - ($profiler->get('ready') - $profiler->get('start')) - $profiler->get('init') - $profiler->get('content');
|
||||
$o = $o . '<div class="renderinfo">' . DI::l10n()->t("Boot: %s, Class-Init: %s, Init: %s, Content: %s, Other: %s, Total: %s",
|
||||
round($profiler->get('ready') - $profiler->get('start'), 3),
|
||||
$o = $o . '<div class="renderinfo">' . DI::l10n()->t("Class-Create: %s, Class-Init: %s, Boot: %s, Init: %s, Content: %s, Other: %s, Total: %s",
|
||||
round($profiler->get('classcreate') - $profiler->get('start'), 3),
|
||||
round($profiler->get('classinit') - $profiler->get('start'), 3),
|
||||
round($profiler->get('ready') - $profiler->get('classinit'), 3),
|
||||
round($profiler->get('init'), 3),
|
||||
round($profiler->get('content'), 3),
|
||||
round($rest, 3),
|
||||
|
|
Loading…
Reference in a new issue