Innovation Award
 May 2004
Number 4 |
Sometimes it is necessary to invest some effort in optimizing applications that make significant use of hardware resources to reduce the costs of maintaining the sites where the applications are hosted.
When the applications are large it is not always easy to tell what exactly needs to be optimized. The solution consists on finding the which parts of the application consume most of the time to execute. This is the goal of application profiling tools.
This class provide a solution for profiling PHP scripts. It uses the ticks callback handler functions to locate which parts of the application are executing and how long it is taking to finish.
With this information it can produce reports that can give the developer a better idea of which are the expensive parts of their application that may be more worth investing optimization effort.
Manuel Lemos |
This class is meant to generate profile reports by analysing the time spent executing each part of a PHP script, adding the number of PHP interpreter passes and overall time in percentage for each line.
It may be useful to find slow or unused code, compare the speed of different code implementations, track loop counts and conditions, etc..
It may generate reports in plain text or HTML format.
It supports includes, evals and asserts. This class is compatible with both PHP 4 and PHP 5. It does not require any special extensions.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (95.8%) |
Good (87.5%) |
- |
Sufficient (79.2%) |
- |
- |
Sufficient (64.6%) |
408 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.