X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=rendertime%2Frendertime.php;h=627c8cd9a8e2a2f2210817469f03abd38e733f1f;hb=46de1b8b89980513d50275d9d8c78681dff82b56;hp=9edfde0b8a50846ae5d4b7979834b15052641b2b;hpb=a0344101f122248c3069a5dcfa3ebfcb67215d5a;p=friendica-addons.git diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index 9edfde0b..627c8cd9 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -48,6 +48,17 @@ function rendertime_page_end(Friendica\App $a, &$o) //round($profiler->get('plugin'), 3) ) . ''; + $total = microtime(true) - $profiler->get('start'); + $rest = $total - ($profiler->get('ready') - $profiler->get('start')) - $profiler->get('init') - $profiler->get('content'); + $o = $o . '
'; $o .= $profiler->getRendertimeString(DI::config()->get('rendertime', 'minimal_time', 0));