<?xml version="1.0"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Decaflon Thread: The PHP Benchmark</title>
<link>http://decaflon.com/notes/</link>
<description>Decaflon Thread: The PHP Benchmark</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 04:51:48 +0000</pubDate>

<item>
<title>The PHP Benchmark</title>
<link>http://decaflon.com/programming/notes/14777/p/1/#response-117171</link>
<pubDate>Thu, 05 Jun 2008 04:01:57</pubDate>
<dc:creator>Scrivs</dc:creator>
<guid isPermaLink="false">117171</guid>
<description>&lt;p&gt;Ah yup:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Given that the previous version of the tests have been very controvercial and incorrect, I must appologise for forgetting to implement the reset() function to allow the while() loops to start from the beginning instead of the end. Thanks to Anthony Bush for spotting this out.&lt;/p&gt;&lt;/blockquote&gt;</description>
</item>
<item>
<title>The PHP Benchmark</title>
<link>http://decaflon.com/programming/notes/14777/p/1/#response-117170</link>
<pubDate>Thu, 05 Jun 2008 04:01:22</pubDate>
<dc:creator>Scrivs</dc:creator>
<guid isPermaLink="false">117170</guid>
<description>&lt;p&gt;Whoa, what the hell? Yesterday he had the while loop as much, much faster. Someone must've found an error in his testing code.
&lt;/p&gt;</description>
</item>
<item>
<title>The PHP Benchmark</title>
<link>http://decaflon.com/programming/notes/14777/p/1/#response-117169</link>
<pubDate>Thu, 05 Jun 2008 03:52:28</pubDate>
<dc:creator>Ozone42</dc:creator>
<guid isPermaLink="false">117169</guid>
<description>&lt;p&gt;Looking at that chart, foreach is the fastest.  The lower the time it takes the better, no?&lt;/p&gt;
&lt;p&gt;My main improvements are reducing/optimizing database calls.
&lt;/p&gt;</description>
</item>
<item>
<title>The PHP Benchmark</title>
<link>http://decaflon.com/programming/notes/14777/p/1/#response-117165</link>
<pubDate>Thu, 05 Jun 2008 03:10:56</pubDate>
<dc:creator>Scrivs</dc:creator>
<guid isPermaLink="false">117165</guid>
<description>&lt;p&gt;This was a great article and I didn't even realize that such a subtle change in code would have such adverse effects to the speed of it. Especially crazy because the majority of our code runs off of foreach loops so over time I will be going back and recycling through them to change them to while loops.&lt;/p&gt;
&lt;p&gt;Has anyone else seen speed improvements with changes in their PHP code?
&lt;/p&gt;</description>
</item>

</channel>
</rss>

