[Typo3-dev] Memory issues
Wolfgang Klinger
wolfgang at stufenlos.net
Tue Nov 16 16:16:18 CET 2004
*hiya!*
On Tue, 16 Nov 2004, dan frost wrote the following:
> Yep - you only need 1 or 2 analyses of a page/part to tell you where the
> problems are. It's working out why they problems are that takes the time!!
That's the output of APD for an average site
(call placed on top of index.php)
----
Real User System secs/ cumm
%Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name
--------------------------------------------------------------------------------------
0.4 0.01 0.01 0.00 0.00 0.01 0.01 1568 0.0000 0.0000 1693384 strstr
0.0 0.00 0.01 0.00 0.01 0.00 0.00 237 0.0000 0.0000 1533065 t3lib_timetrack->pull
4.6 0.11 0.11 0.02 0.02 0.09 0.09 153 0.0000 0.0000 804576 defined
1.3 0.03 0.03 0.02 0.02 0.01 0.01 253 0.0000 0.0000 697088 serialize
6.8 0.16 0.16 0.01 0.01 0.15 0.15 568 0.0000 0.0000 639720 mysql_fetch_assoc
1.3 0.03 0.03 0.03 0.03 0.00 0.00 10 0.0000 0.0000 608072 preg_replace
0.0 0.00 0.00 0.00 0.00 0.00 0.00 52 0.0000 0.0000 539008 fread
0.8 0.02 0.02 0.01 0.01 0.01 0.01 57 0.0000 0.0000 532472 unserialize
1.3 0.03 0.03 0.03 0.03 0.00 0.00 791 0.0000 0.0000 509896 implode
0.8 0.02 0.02 0.02 0.02 0.00 0.00 2841 0.0000 0.0000 409704 str_replace
5.5 0.13 0.13 0.05 0.05 0.08 0.08 4601 0.0000 0.0000 270840 strlen
1.7 0.04 0.04 0.04 0.04 0.00 0.00 2578 0.0000 0.0000 252736 explode
4.6 0.11 0.11 0.02 0.02 0.09 0.09 1252 0.0000 0.0000 123376 htmlspecialchars
0.4 0.01 0.02 0.00 0.00 0.01 0.02 229 0.0000 0.0000 119520 t3lib_pageselect->getpageoverlay
0.0 0.00 0.00 0.00 0.00 0.00 0.00 14 0.0000 0.0000 118464 t3lib_tstemplate->prependstaticextra
0.8 0.02 0.02 0.00 0.00 0.02 0.02 157 0.0000 0.0000 117296 addslashes
0.0 0.00 0.00 0.00 0.00 0.00 0.00 1 0.0000 0.0000 70136 preg_match
0.4 0.01 0.03 0.00 0.00 0.01 0.03 351 0.0000 0.0000 66120 t3lib_div->makeinstance
6.8 0.16 0.16 0.11 0.11 0.05 0.05 9924 0.0000 0.0000 62928 substr
0.4 0.01 0.01 0.01 0.01 0.00 0.00 656 0.0000 0.0000 47152 eregi_replace
----
(top 20 ordered by memory consumption)
that's just a simple example and shows what APD can do for us...
bye
Wolfgang
More information about the TYPO3-dev
mailing list