I would suggest creating your own profiler. There are several excellent profilers that provide you with extensive information and ease of use. I think your best investment in the future is as follows. We use this in the web company I work for, and she likes it very much:
Zend Server php stack:
You can use the free version of Community Edition and choose which parts of the stack you want to install. We have installed only part of PHP and rely on Apache and MySQL from the Linux distribution. Zend Server provides a Debugger extension, a code optimizer (for a slight increase in speed), a cache byte (for a significant increase in speed) and a beautiful graphical interface for managing PHP settings. The commercial version provides much more. Installing on Linux is easy via RPM or DEB packages.
To use the Debugger extension, you need an IDE:
Install Zend Studio , which is a great PHP IDE (check out the feature page) and is very easy to debug and profile. You donβt need to make cachegrind files or other multi-stage processes, but just click the βProfileβ button on the toolbar in Firefox and Studio to start profiling this page. The details and ease of use are enormous.
I may look like a Zend seller, and it may sound more than what you need, but I am just a PHP developer who is very pleased with the tools that he uses. I think the time taken to start using Studio, but the combination makes it great, and Server will even speed up your live server a bit. In my opinion, this combo is simply the best PHP development environment currently available. Watch demo videos . There, too, on the profiling.
Martijn heemels
source share