forked from friendica/friendica-addons
Cleaned up parameters
This commit is contained in:
parent
ed672a36f5
commit
f11b6a1080
|
@ -50,8 +50,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
|
||||||
|
|
||||||
$total = microtime(true) - $profiler->get('start');
|
$total = microtime(true) - $profiler->get('start');
|
||||||
$rest = $total - ($profiler->get('ready') - $profiler->get('start')) - $profiler->get('init') - $profiler->get('content');
|
$rest = $total - ($profiler->get('ready') - $profiler->get('start')) - $profiler->get('init') - $profiler->get('content');
|
||||||
$o = $o . '<div class="renderinfo">' . DI::l10n()->t("Class-Create: %s, Class-Init: %s, Boot: %s, Init: %s, Content: %s, Other: %s, Total: %s",
|
$o = $o . '<div class="renderinfo">' . DI::l10n()->t("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('classinit') - $profiler->get('start'), 3),
|
||||||
round($profiler->get('ready') - $profiler->get('classinit'), 3),
|
round($profiler->get('ready') - $profiler->get('classinit'), 3),
|
||||||
round($profiler->get('init'), 3),
|
round($profiler->get('init'), 3),
|
||||||
|
|
Loading…
Reference in a new issue