<?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>Fri, 24 May 2013 15:21:37 -0500</pubDate>
    <ttl>30</ttl>
    <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>
