diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index 9edfde0b8..b36602dd6 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));