News Feed
Sections




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

PHPMaster.com:
The Need for Speed Profiling with XHProf and XHGui
September 03, 2012 @ 10:29:13

On PHPMaster.com today Matt Turland has an article posted about using XHProf and XHGui to find the performance issues in your application and profile them to help optimize things.

Profiling is the process of measuring the execution time of each function or method call involved in servicing a single page request. The data collected from this process can reveal issues such as a particular method taking a long time to execute or being called a large number of times. Profiling a PHP script generally requires installing a PHP extension. The two more popular extensions for this purpose are Derick Rethans' Xdebug and Facebook's XHProf. This article will focus on XHProf.

He walks you through the installation of both and shows you some sample results of the profiling of a simple application and how you can compare the results across profiling runs. Additionally, if you install graphviz support, you can generate the call stack output in a visual form to make for easier consumption.

0 comments voice your opinion now!
xhprof profile optimize xhgui tutorial install


blog comments powered by Disqus

Similar Posts

DevShed: Using PDO Objects in PHP 5 - Using the PDO extension

DZone.com: Building a Flickr Slideshow with NetBeans IDE 6.5

Jeremy Cook: Turbocharging your Logs

IBM developerWorks: U2 PDO Driver Tutorial, Parts 1 & 2

HowToForge.com: LAMP Installation On Ubuntu 6.06 For Linux Noobs


Community Events





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


developer list bugfix podcast api release series interview community wordpress configure threedevsandamaybe language library unittest introduction install application laravel code

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