mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Show memory usage in debug panel
This commit is contained in:
parent
08f8e0ccd4
commit
9b714acb55
3 changed files with 3 additions and 0 deletions
|
|
@ -776,6 +776,7 @@ class Debug
|
|||
'method' => \Context::getResponseMethod(),
|
||||
'size' => \DisplayHandler::$response_size,
|
||||
),
|
||||
'memory' => memory_get_peak_usage(),
|
||||
'timing' => (object)array(
|
||||
'total' => sprintf('%0.4f sec', microtime(true) - \RX_MICROTIME),
|
||||
'template' => sprintf('%0.4f sec (count: %d)', $GLOBALS['__template_elapsed__'] ?? 0, $GLOBALS['__TemplateHandlerCalled__'] ?? 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue