<?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>Thu, 15 May 2008 22:34:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Comparing Files and Databases with PHP Benchmarking Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10136</guid>
      <link>http://www.phpdeveloper.org/news/10136</link>
      <description><![CDATA[<p>
DevShed is wrapping up their series looking at benchmarking your PHP applications with <A href="http://www.devshed.com/c/a/PHP/Comparing-Files-and-Databases-with-PHP-Benchmarking-Applications/">the third part</a> - a look at comparing execution times of scripts that can either pull from a database or from a flat file.
</p>
<blockquote>
This large, complex subject offers numerous possibilities for experimentation, which means that you'll surely have tons of fun creating timing systems with PHP. [...] his article, then, will be focused on evaluating different scripts that fetch sets of records, first from a database, and then from flat files.
</blockquote>
<p>
They use the Timer class they defined in a previous part of the series and wrap it around both a database class (pulling user information from a MySQL database) and a fetch to a flat file for similar information. General exceptions are handled as a part of the resource connection class.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 07:58:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using Timers to Benchmark PHP Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10082</guid>
      <link>http://www.phpdeveloper.org/news/10082</link>
      <description><![CDATA[<p>
DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/Using-Timers-to-Benchmark-PHP-Applications/">second article</a> in their series looking at benchmarking your PHP scripts. This time they look at the use of "timers" to check on script execution length.
</p>
<blockquote>
Since you already know how to create timer functions and classes, in this tutorial, I'll create some concrete examples that show where these timing mechanisms can be applied in order to evaluate the performance of certain PHP applications.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Using-Timers-to-Benchmark-PHP-Applications/1/">create a few classes</a> that connect to a database and pull out rows (handing it off to a Result class). They use these classes in two examples - one with compression (output buffering) and one without using their Timer class to evaluate the differences.
</p>]]></description>
      <pubDate>Wed, 30 Apr 2008 14:31:08 -0500</pubDate>
    </item>
  </channel>
</rss>
