<?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>Sat, 22 Nov 2008 04:27:51 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Douglas Clifton's Blog: Cachegrind your Web apps]]></title>
      <guid>http://www.phpdeveloper.org/news/11387</guid>
      <link>http://www.phpdeveloper.org/news/11387</link>
      <description><![CDATA[<p>
<i>Douglas Clifton</i> has a <a href="http://loadaveragezero.com/app/s9y/index.php?/archives/156-Cachegrind-your-Web-apps.html">quick new post</a> to his blog looking at an invaluable tool in application development (and not just in PHP) - cachegrind output.
</p>
<blockquote>
Valgrind is a entire <a href="http://valgrind.org/info/tools.html">suite</a> of <A href="http://loadaveragezero.com/app/drx/Software/Open_Source">open-source</a> <a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools">tools</a>, including basic debugging, profiling, and more advanced techniques such as threading, memory management, and leak detection. For the purposes of this article, I will focus on Cachegrind, and in particular within the domain of Web applications. Although there are a number of developers contributing to Valgrind, Julian Seward is the original designer and author. 
</blockquote>
<p>
He talks about the <a href="http://valgrind.org/info/tools.html#cachegrind">cachegrind</a> software and the PHP-based profiler that can create these files - <a href="http://loadaveragezero.com/app/drx/Programming/Languages/PHP#xdebug:debugger">XDebug</a>. He also includes a list of a few of the cachegrind viewers including <a href="http://sourceforge.net/projects/kcachegrind/">KCachegrind</a> and <a href="http://loadaveragezero.com/app/drx/Programming/Development_Tools#google:webgrind">Webgrind</a>.
</p>]]></description>
      <pubDate>Tue, 11 Nov 2008 11:19:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Cachegrind-less profiling with Xdebug 2.0]]></title>
      <guid>http://www.phpdeveloper.org/news/11275</guid>
      <link>http://www.phpdeveloper.org/news/11275</link>
      <description><![CDATA[<p>
In <a href="http://devzone.zend.com/article/3829-Cachegrind-less-profiling-with-Xdebug-2.0">this new post</a> on the Zend Developer Zone <i>Richard Thomas</i> points out a way he's creates to mimic the cachgrind software that parses XDebug profile output.
</p>
<blockquote>
Cachegrind provides a nice graphical display of your profiling information but I run Mac OSX [...] What I needed was a way to replicate the old Xdebug 1.x functionality. From this the idea of "PHPGrind" was born. Right now its just a proof of concept but I am hoping with some more understanding of the cachegrind format I can make it into something as useful as the graphical versions. 
</blockquote>
<p>
<a href="http://solardemo.phpjack.com/phpgrind.phps">His application</a> grabs the cachegrind file and processes through it to pull out the events, version information and the target profiled and outputs them in a simple loop at end.
</p>
<p>
Commentors on the post also suggest <a href="http://code.google.com/p/webgrind/">Webgrind</a> and <A href="http://www.maccallgrind.com/ ">MacallGrind</a>.
</p>]]></description>
      <pubDate>Thu, 23 Oct 2008 07:58:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andreas Gohr's Blog: Understanding PHP code better with Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/9685</guid>
      <link>http://www.phpdeveloper.org/news/9685</link>
      <description><![CDATA[<p>
<i>Andreas Gohr</i> has a <a href="http://www.splitbrain.org/blog/2008-02/21-understanding_php_code_better_with_xdebug">new blog post</a> today that talks about a way to really get to know your code better - use XDebug to see it from the inside out.
</p>
<blockquote>
<a href="http://xdebug.org/">Xdebug</a> is a PHP extension which helps you to understand, debug and profile PHP. It can help you to find bottlenecks or give you an quick overview what happens in code you aren't familiar with, yet.
</blockquote>
<p>
<a href="http://www.splitbrain.org/blog/2008-02/21-understanding_php_code_better_with_xdebug">The post</a> gives a brief overview of the installation of the extension (building a shared module) and shows how to get started with profiling an application. He talks about the <a href="http://valgrind.org/info/tools.html#cachegrind">cachegrind</a> tool you can use to parse the results and the <a href="http://kcachegrind.sourceforge.net/cgi-bin/show.cgi">kcachegrind</a> app that will make the results a bit more visual.
</p>
<p>
As a bonus, he also throws in a bit about function tracing - picking out each small bit of functionality in the code (the function/methods) and gathering stats for each.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 09:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Xml.it Blog: Open-source PHP profiler]]></title>
      <guid>http://www.phpdeveloper.org/news/8678</guid>
      <link>http://www.phpdeveloper.org/news/8678</link>
      <description><![CDATA[<p>
The xml.it blog <a href="http://www.xml.lt/Blog/2007/09/18/Open-source+PHP+profiler">passes on</a> a quick tip for something that was exactly what they were looking for:
</p>
<blockquote>
We were looking for a simple open-source PHP profiler, without any fancy IDEs like Zend bundled together. After a little search, we found one: <a href="http://xdebug.org/">Xdebug</a>, debugger and profiler tool for PHP.
</blockquote>
<p>
<a href="http://xdebug.org/">XDebug</a> is "extension helps you debugging your script by providing a lot of valuable debug information. The debug information that Xdebug can provide includes the following: stack traces, memory allocation and protection for infinite recursions".
</p>]]></description>
      <pubDate>Tue, 18 Sep 2007 18:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>
