Add memory consumption in debug log
This commit is contained in:
parent
d600375493
commit
074cfa5d7a
|
|
@ -67,6 +67,7 @@ abstract class Base extends \Core\Base
|
|||
|
||||
$this->container['logger']->debug('SQL_QUERIES={nb}', array('nb' => $this->container['db']->nbQueries));
|
||||
$this->container['logger']->debug('RENDERING={time}', array('time' => microtime(true) - @$_SERVER['REQUEST_TIME_FLOAT']));
|
||||
$this->container['logger']->debug('MEMORY='.$this->helper->text->bytes(memory_get_usage()));
|
||||
$this->container['logger']->debug('END_REQUEST='.$_SERVER['REQUEST_URI']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue