PHP Profile Class

The PHP Profile Class is an excellent PHP profiling tool for Web applications. Using this class will help you quickly and easily gain insight into which parts of your app could use some refactoring and optimization.

Profiling is a important part of software development, allowing you to find bottlenecks in your application and discover areas that would benefit from optimisation. In PHP a common technique is to calculate the total time to render a page. This can be achieved using the microtime function.

This simple approach is a a great way to find out how long certain pages are taking to load. Sometimes, however, you want more granular profiling information. That’s why I created a Profile class, which records the execution time of a given method.

If you want to know more about PHP Profile Class please visit http://www.coderholic.com/php-profile-class/