Paul Annesley over at SitePoint has just published an interesting article about profiling code with Xdebug.

When you profile your code, you can find out how often certain parts of your code execute and more importantly, how long it takes for each routine to execute. If you know how frequently a routine is executed and the length of execution time, you can accurately determine which parts of your code need to be optimized.

Paul’s article takes a look at Xdebug and WinCacheGrind.