View Single Post

  #3 (permalink)  
Old 12-13-2007
Jaroslaw Szczepankiewicz
 
Posts: n/a
Default Re: Profiling memory usage of php scripts

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

Reply With Quote