<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 21:23:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell: Installing XHGui]]></title>
      <guid>http://www.phpdeveloper.org/news/19286</guid>
      <link>http://www.phpdeveloper.org/news/19286</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has a new post today showing you how to <a href="http://www.lornajane.net/posts/2013/installing-xhgui">install XHGui</a> to help with profiling your application for performance and processing issues.
</p>
<blockquote>
If you're not familiar with XHGui it's a fabulously easy and friendly way to profile your application; to understand which method calls in a page take the time and how many times they are made, so you can improve the performance of your application. All these instructions are for my 32-bit Ubuntu 12.10 system, hopefully they will work for you or you'll be able to adapt them as appropriate.
</blockquote>
<p>
She lists the dependencies you'll need to have installed before you can get XHGui working correctly including a MongoDB instance and the <a href="http://pecl.php.net/package/xhprof">PECL xhprof</a> extension. With those all set to go, you can go grab the latest XHGui <a href="https://github.com/preinheimer/xhgui">from github</a> and drop it into place. 
</p>]]></description>
      <pubDate>Thu, 07 Mar 2013 12:15:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Reinheimer: XHGui and MongoDB]]></title>
      <guid>http://www.phpdeveloper.org/news/18949</guid>
      <link>http://www.phpdeveloper.org/news/18949</link>
      <description><![CDATA[<p>
<i>Paul Reinhemier</i> has <a href="http://blog.preinheimer.com/index.php?/archives/403-XHGui-on-MongoDB.html">written up  post</a> sharing his creation of the code to get <a href="https://github.com/preinheimer/xhgui">XHGui working with MongoDB</a>.
</p>
<blockquote>
<a href="http://mark-story.com/posts/archive">Mark Story</a> & I are pleased as punch to introduce <a href="https://github.com/preinheimer/xhgui">XHGui on MongoDB</a>. Our goal was to get as close to the original feature set of the tool I worked on a few years ago (which leveraged the starting point provided by Facebook) and then to release what we had. What we've got now works; there's still a good distance to go, but we think it's far enough that we can ask for help form the community at large.
</blockquote>
<p>
The tool collects XHProf data and stores it into a MongoDB database and allows you to <a href="http://blog.preinheimer.com/uploads/runpage.png">view</a> <a href="http://blog.preinheimer.com/uploads/urlpage.png">recent</a> activity. There's a few warnings that he includes with the post, so be sure to read those through if you plan on using the tool.
</p>]]></description>
      <pubDate>Wed, 26 Dec 2012 10:02:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: The Need for Speed: Profiling with XHProf and XHGui]]></title>
      <guid>http://www.phpdeveloper.org/news/18435</guid>
      <link>http://www.phpdeveloper.org/news/18435</link>
      <description><![CDATA[<p>
On PHPMaster.com today <i>Matt Turland</i> has an article posted about <a href="http://phpmaster.com/the-need-for-speed-profiling-with-xhprof-and-xhgui/">using XHProf and XHGui</a> to find the performance issues in your application and profile them to help optimize things.
</p>
<blockquote>
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 <a href="http://derickrethans.nl/">Derick Rethans</a>' <a href="http://pecl.php.net/package/xdebug">Xdebug</a> and Facebook's <a href="http://pecl.php.net/package/xhprof">XHProf</a>. This article will focus on XHProf.
</blockquote>
<p>
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 <a href="http://www.graphviz.org/">graphviz</a> support, you can <a href="http://cdn.phpmaster.com/files/2012/09/xhprof-03.png">generate the call stack output</a> in a visual form to make for easier consumption.
</p>]]></description>
      <pubDate>Mon, 03 Sep 2012 10:29:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Profiling a PHP Application]]></title>
      <guid>http://www.phpdeveloper.org/news/16212</guid>
      <link>http://www.phpdeveloper.org/news/16212</link>
      <description><![CDATA[<p>
On DZone.com's Web Builder Zone today there's a new post from <i>Eric Hogue</i> talking about some of the tools you can use to <a href="http://css.dzone.com/news/profiling-php-application">profile your PHP application</a> and squeeze that much more performance out of it (or maybe just find that pesky, elusive bug).
</p>
<blockquote>
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.
</blockquote>
<p>The helpful tools he mentions include:</p>
<ul>
<li><a href="http://www.joedog.org/index/siege-home">Siege</a> (benchmarking)
<li><a href="http://www.xdebug.org/">Xdebug</a>
<li><a href="http://pecl.php.net/package/xhprof">XHProf</a>
<li>XHGui
</ul>]]></description>
      <pubDate>Mon, 18 Apr 2011 11:09:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Eric Hogue's Blog: Profiling a PHP Application]]></title>
      <guid>http://www.phpdeveloper.org/news/16136</guid>
      <link>http://www.phpdeveloper.org/news/16136</link>
      <description><![CDATA[<p>
<i>Eric Hogue</i> has written up a new post about a few different technologies you can use to <a href="http://erichogue.ca/2011/03/30/profiling-a-php-application/">profile your PHP applications</a> quickly and easily.
</p>
<blockquote>
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. This post describes the installation and configuration of some of them. I tested them in a Ubuntu 10.10 virtual machine. If you want to try those tools, don't forget that they can greatly impact the performance of you web server when they are active. Installing a tool like Xdebug on a production server is not recommended. 
</blockquote>
<p>
First he looks at benchmarking your application with a tool called <a href="http://www.joedog.org/index/siege-home">Siege</a>, a load testing tool that can be configured to send requests to your application in lots of different ways. He also mentions <a href="http://www.xdebug.org/">Xdebug</a>, a handy debugger and <a href="http://pecl.php.net/package/xhprof">XProf</a>, a profiling tool to help find the bottlenecks in your code (and XHGui to view its results).
</p>]]></description>
      <pubDate>Fri, 01 Apr 2011 10:02:53 -0500</pubDate>
    </item>
  </channel>
</rss>
