This is a discussion on Profiling memory usage of php scripts within the PHP Language forums, part of the PHP Programming Forums category; Hi is it possible to profile memory usage of single function, ideally it would be to see stack tree with ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi is it possible to profile memory usage of single function, ideally it
would be to see stack tree with memory info of each function (current usage of memory before and after executing function), do you know any tool that allows that function? Thanks in advance. |
|
|||
|
Jaroslaw Szczepankiewicz wrote:
> Hi is it possible to profile memory usage of single function, ideally it > would be to see stack tree with memory info of each function (current > usage of memory before and after executing function), do you know any > tool that allows that function? Thanks in advance. Hi, have a try with this pack: apache2 & php & xdebug & callgrind & kcachegrind Impressive output of a memory usage footprint of a scripts execution trace. --- arkascha |
|
|||
|
arkascha pisze:
> Jaroslaw Szczepankiewicz wrote: > >> Hi is it possible to profile memory usage of single function, ideally it >> would be to see stack tree with memory info of each function (current >> usage of memory before and after executing function), do you know any >> tool that allows that function? Thanks in advance. > > Hi, have a try with this pack: > apache2 & php & xdebug & callgrind & kcachegrind are you shure you used xdebug to profile memory? version: 2.0.0RC4 of xdebug has in changelog: "- Removed support for Memory profiling as that didn't work properly." which version of xdebug had you used > Impressive output of a memory usage footprint of a scripts execution trace. > > --- > arkascha |