// Fixed revision 13573
This commit is contained in:
1 parent
a90e8a9809
commit
bc94509ab3
1 file changed
+7
-1
@@ -305,6 +305,9 @@ abstract class Controller extends ControllerCore
|
|||||||
}
|
}
|
||||||
arsort($globalSize);
|
arsort($globalSize);
|
||||||
|
|
||||||
|
$cache = Cache::retrieveAll();
|
||||||
|
$totalCacheSize = $this->sizeofvar($cache);
|
||||||
|
|
||||||
echo '<br /><br />
|
echo '<br /><br />
|
||||||
<div class="rte" style="text-align:left;padding:8px;float:left">
|
<div class="rte" style="text-align:left;padding:8px;float:left">
|
||||||
<b>Load time</b>: '.$this->displayLoadTimeColor($this->_time['display'] - $start_time, true).'';
|
<b>Load time</b>: '.$this->displayLoadTimeColor($this->_time['display'] - $start_time, true).'';
|
||||||
@@ -326,7 +329,7 @@ abstract class Controller extends ControllerCore
|
|||||||
echo '</ul>
|
echo '</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
<div class="rte" style="text-align:left;padding:8px;float:left;margin-left:20px">
|
||||||
<b>Memory peak usage</b>: '.$this->displayMemoryColor(memory_get_peak_usage()).'';
|
<b>Memory peak usage</b>: '.$this->displayMemoryColor(memory_get_peak_usage());
|
||||||
if (self::$_footer)
|
if (self::$_footer)
|
||||||
{
|
{
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
@@ -338,6 +341,9 @@ abstract class Controller extends ControllerCore
|
|||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
}
|
}
|
||||||
|
echo '<br /><br />
|
||||||
|
<b>Total cache size (in Cache class)</b>: '.$this->displayMemoryColor($totalCacheSize).'
|
||||||
|
</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
|||||||
Reference in new issue
Block a user