News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ParticleTree Blog:
PHP Quick Profiler
April 24, 2009 @ 07:57:01

Debugging resources being used by your script has always been a pain, and many developers have come up with their own libraries to handle the process. Ryan Campbell has his own entry in the category - the PHP Quick Profiler.

In our company, code reviews play an integral part in the development process for making quality software. We opt for a mentor style approach with Wufoo, where a developer works on a segment for a period of time and then passes it up to a more experienced developer for review.

[...] To reduce this repetition of checking the same requirements over and over], we invested some time creating something we've called the PHP Quick Profiler-we call it PQP for short. It's 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.

The post gives several screenshots of the tool in action and code to get you up and running quickly. The Profiler can keep track of memory usage, "runaway" includes, execution time and database activity. There's also an online demo so you can try it out yourself.

Here's the link to the latest version's download.

0 comments voice your opinion now!
demo time execution include database usage memory profile


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: Using SQL Azure Federations via PHP

Internet Super Hero Blog: mysqlnd saves 40% memory, finally (new tuning options)!

Sebastian Bergmann's Blog: SQL Puzzle

Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2

Kristian Kohntopp's Blog: Annotations to "Five Common PHP database problems"


Community Events





Don't see your event here?
Let us know!


release symfony unittest package series zendserver update podcast tips community opinion api install library framework interview introduction language laravel deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework