[Typo3-dev] Memory issues
Wolfgang Klinger
wolfgang at stufenlos.net
Wed Nov 17 08:35:52 CET 2004
*hiya!*
On Wed, 17 Nov 2004, Michael Stucki wrote the following:
> Can you please check this and compare the memory consumption with and
> without the change?
Without mmcache it makes no difference, both result in:
----
Real User System secs/ cumm
%Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name
--------------------------------------------------------------------------------------
0.0 0.00 0.00 0.00 0.00 0.00 0.00 2 0.0000 0.0000 4136 is_array
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 544 str_replace
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 80 t3lib_beuserauth->isadmin
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 24 t3lib_beuserauth->getpagepermsclause
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 16 localpagetree->settreename
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 8 t3lib_treeview->init
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 0 main
----
With mmcache:
----
original:
-------
Real User System secs/ cumm
%Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name
--------------------------------------------------------------------------------------
0.0 0.00 0.00 0.00 0.00 0.00 0.00 2 0.0000 0.0000 3984 is_array
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 448 str_replace
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 80 t3lib_beuserauth->isadmin
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 24 t3lib_beuserauth->getpagepermsclause
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 16 localpagetree->settreename
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 8 t3lib_treeview->init
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 0 main
with your change:
--------
Real User System secs/ cumm
%Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name
--------------------------------------------------------------------------------------
0.0 0.00 0.00 0.00 0.00 0.00 0.00 2 0.0000 0.0000 3888 is_array
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 264 str_replace
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 56 t3lib_beuserauth->isadmin
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 8 t3lib_beuserauth->getpagepermsclause
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 8 localpagetree->settreename
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 8 t3lib_treeview->init
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 0 main
----
I placed the call to apd_set_pprof_trace before the line and a die()
afterwards, so just the pure call to the parent's init function was
measured...
bye
Wolfgang
____________________________________________________
Wolfgang Klinger wolfgang(at)stufenlos.net
http://www.stufenlos.net/
More information about the TYPO3-dev
mailing list