News Feed
Sections




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

Inviqa techPortal:
Profiling PHP Applications with XHGui
October 03, 2013 @ 10:53:32

On the Inviqa techPoral today there's a new post from Lorna Mitchell showing you how to profile your PHP applications with the help of the XHGui tool (and XHProf extension).

Profiling is a technique for observing the performance of an application, ideal for showing up bottlenecks or particularly intensive use of resources. Profiling gets inside your application and gives information about the performance of the various parts of code that are used during a request. [...] We have a choice of tools for PHP but in this article we'll focus on an excellent tool called XHGui. XHGui is a tool built upon XHProf, the profiling tool released by Facebook, but adding better storage of metrics and a much nicer interface for retrieving information from it, to the extent that it feels like a new tool in it's own right!

She walks you through the full installation, including other things the tool depends on (like MongoDB and the XHProf extension). She shows how to run the installer, configure a virtual host correctly (using mod_rewrite) and some example screenshots of what the resulting statistics report. This includes things like "wall time" and parts of the application that may be "memory hogs". There's also an example of a handy feature called the "Callgraph" that shows you a visual representation of the performance of the execution of the app.

0 comments voice your opinion now!
techportal xhgui profile performance application xhref tutorial install configure

Link: http://techportal.inviqa.com/2013/10/01/profiling-php-applications-with-xhgui/

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Getting Started with Laravel on Nitrous.io

PHPRiot.com: Monitoring File Uploads using Ajax and PHP

SitePoint.com: How to Create an XML to JSON Proxy Server in PHP

Jani Hartikainen's Blog: Making a PDF generator class using Zend_Pdf

Rob Allen's Blog: Tutorial Notes - Zend_Auth in French & Using Oracle


Community Events





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


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

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