From: Michael Date: Wed, 9 Dec 2020 22:42:45 +0000 (+0000) Subject: Support for more fields X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ed672a36f5c144389052e8d85abf8c796b20ff13;p=friendica-addons.git Support for more fields --- diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index b36602dd..acd35b34 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -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 . '
' . 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 . '
' . 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),