<?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 10:52:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Moon's Blog: PDO Turbo Button]]></title>
      <guid>http://www.phpdeveloper.org/news/6140</guid>
      <link>http://www.phpdeveloper.org/news/6140</link>
      <description><![CDATA[<p>
On the "Ramblings of a web guy" blog by <i>Brian Moon</i>, there's <a href="http://doughboy.wordpress.com/2006/08/25/pdo-turbo-button/">a good look</a> at some benchmarks run with PDO, normally versus with the "turbo button" as talked about <a href="http://www.phpdeveloper.org/news/6132">by Wez</a>.
</p>
<blockquote>
<p>
So, a while back, I did some tests with the mysql, mysqli and PDO extensions. In those tests, I found PDO to be much slower for selects than mysql and mysqli. Half as slow in fact.
</p>
<p>
So, I decided to try Wez's trick of emulating prepared statements to see how PDO did. The results were interesting. Not sure if these are the "fair comparisons" that Wez wants to see, but I gave it my best shot.
</p>
</blockquote>
<p>
His <a href="http://doughboy.wordpress.com/2006/08/25/pdo-turbo-button/">first set of stats</a> was pretty close to his originals back when he first tested, and the second set of tests (with the "button" on) seem to be a bit hit and miss on the performance upgrade using this method.
</p>
<blockquote>
I ran this several times. Maybe Wez or someone that works on PDO can shed some light on this. Seems like it would be tough to keep track of when to use this flag and when not to.
</blockquote>]]></description>
      <pubDate>Fri, 25 Aug 2006 08:09:32 -0500</pubDate>
    </item>
  </channel>
</rss>
