My first time profiling does anyone have any recomendations for a good profiler?
I have heard Xdebug is good
Thanks
Php profiler any recommendations?
Moderator: General Moderators
-
bennyChidge
- Forum Newbie
- Posts: 17
- Joined: Fri Sep 19, 2008 4:40 pm
Re: Php profiler any recommendations?
I'd say xdebug is good enough. Should give it a try.
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Php profiler any recommendations?
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.
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?
xdebug is perfect (and very quick to setup) - just general profiling of the site im making is what I was after
thanks all
thanks all
Re: Php profiler any recommendations?
have you ever used xdubug for profiling?PCSpectra wrote:microtime should suffice for all but the most insane profiling requirements.
it would show you how many times method/function was called, execution time etc. , if you want to do that by hand go ahead