Php profiler any recommendations?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
bennyChidge
Forum Newbie
Posts: 17
Joined: Fri Sep 19, 2008 4:40 pm

Php profiler any recommendations?

Post by bennyChidge »

My first time profiling does anyone have any recomendations for a good profiler?

I have heard Xdebug is good


Thanks
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Re: Php profiler any recommendations?

Post by jmut »

I'd say xdebug is good enough. Should give it a try.
User avatar
arjan.top
Forum Contributor
Posts: 305
Joined: Sun Oct 14, 2007 4:36 am
Location: Hoče, Slovenia

Re: Php profiler any recommendations?

Post by arjan.top »

xdebug++
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Php profiler any recommendations?

Post 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.
bennyChidge
Forum Newbie
Posts: 17
Joined: Fri Sep 19, 2008 4:40 pm

Re: Php profiler any recommendations?

Post 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
User avatar
arjan.top
Forum Contributor
Posts: 305
Joined: Sun Oct 14, 2007 4:36 am
Location: Hoče, Slovenia

Re: Php profiler any recommendations?

Post 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
Post Reply