]> git.mxchange.org Git - friendica-addons.git/commitdiff
Support for more fields
authorMichael <heluecht@pirati.ca>
Wed, 9 Dec 2020 22:42:45 +0000 (22:42 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 9 Dec 2020 22:42:45 +0000 (22:42 +0000)
rendertime/rendertime.php

index b36602dd6fa16e6731bc0554ba601684aa6be4c6..acd35b3486b343dcb628c8e7b61f9308e4a6c150 100644 (file)
@@ -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),