Home About Contact

PHP Quick Profiler – the equivalent of Firebug for PHP

Posted by phorner On April 25, 2009

When writing PHP code and database queries, speed of execution and working out where the bottle necks are can be extremely time consuming. Filling your code with echo statements can be daunting. However, Ryan Campbell from Infinity Box Inc. (the creators of Wufoo, a HTML Form Builder), has developed PHP Quick Profiler (PQP), “a small tool (think Firebug for PHP) to provide profiling and debugging related information to developers without needing them to add a lot of programmatic overhead to their code.”

All that’s required is that you upload the necessary files to your project folder and include the PhpQuickProfiler.php file in your code. This will then enable the console, memory and file logging. Speed and database tracking require a bit more work, but can be implemented as well.

PHP Quick Profiler

The interface is encapsulated within PQP, removing the need to insert CSS or Javascript into your code. The PQP file does it all for you.

I’ll definitely be using this in future projects, and also using it to optimise some older projects. Highly recommended for PHP developers.

For more information: PHP Quick Profiler

Demo: PQP Demo

  • Share/Bookmark