Eric Hogue talks about Profiling a PHP Application

      Comments Off on Eric Hogue talks about Profiling a PHP Application

PHP community member Eric Hogue has written a very interesting post about “Profiling a PHP Application” This is a problem that all developers should face. In his post, Eric gives a good rundown of three options developers have for finding performance issues with their applications. Here’s an excerpt to gives you a taste.

When developing web applications, we often run into performance issues. People often blame PHP or MySQL for bad performance, but in most case the answer is not that easy. Blindly trying to optimize random parts of our applications can lead to some uneven results.

There are many available tools to profile a PHP application. Learning how to use them can help us pinpoint which parts are slow. With this information we can pick the optimizations that will give us the best results.

The three packages Eric discusses are:

  • Xdebug
  • XHProf
  • XHGui

Of course to actually see what Eric has to say about them and find links to the projects, you need to visit his post.

Performance testing is important to web applications of all sizes. Now that Google has announced that page speed is one of their factors, every developer should be concerned about the speed of their application. A big hat-tip to Eric for showing us the tools to find the problems.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PCs.   For the past 10 years, Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is happily married to wife 1.33, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Nomad PHP