Page 1 of 1

Php profiler any recommendations?

Posted: Mon Oct 27, 2008 3:49 am
by bennyChidge
My first time profiling does anyone have any recomendations for a good profiler?

I have heard Xdebug is good


Thanks

Re: Php profiler any recommendations?

Posted: Mon Oct 27, 2008 3:51 am
by jmut
I'd say xdebug is good enough. Should give it a try.

Re: Php profiler any recommendations?

Posted: Mon Oct 27, 2008 4:40 am
by arjan.top
xdebug++

Re: Php profiler any recommendations?

Posted: Mon Oct 27, 2008 4:46 am
by alex.barylski
microtime should suffice for all but the most insane profiling requirements.

Is a measurement less than a mircosecond really that important to you? I'm not even sure how xdebug measures time but it might use the same function as microtime(). Unless you detect clock cycles from point A to point Z and calculate the time manually you won't get more accurate, if this is your concern.

Re: Php profiler any recommendations?

Posted: Mon Oct 27, 2008 5:00 am
by bennyChidge
xdebug is perfect (and very quick to setup) - just general profiling of the site im making is what I was after

thanks all

Re: Php profiler any recommendations?

Posted: Mon Oct 27, 2008 6:08 am
by arjan.top
PCSpectra wrote:microtime should suffice for all but the most insane profiling requirements.
have you ever used xdubug for profiling?

it would show you how many times method/function was called, execution time etc. , if you want to do that by hand go ahead