X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=rendertime%2Frendertime.php;h=627c8cd9a8e2a2f2210817469f03abd38e733f1f;hb=46de1b8b89980513d50275d9d8c78681dff82b56;hp=b36602dd6fa16e6731bc0554ba601684aa6be4c6;hpb=8340f3b1f45db8e11ecf4efc064aa0cbfab71699;p=friendica-addons.git diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index b36602dd..627c8cd9 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -50,9 +50,9 @@ 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-Init: %s, Boot: %s, Init: %s, Content: %s, Other: %s, Total: %s", 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),