<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Of Lies, Damned Lies, and Benchmarks</title>
	<atom:link href="http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/</link>
	<description>The personal blog of Brandon Savage. Contains entries of a personal and professional nature focusing on PHP, Apple, LAMP, MySQL and Washington, DC.</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:36:33 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-911</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 13 Aug 2009 01:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-911</guid>
		<description>Brandon, thanks for responding to Stagner&#039;s &quot;drive-by comparison&quot; in a productive manner.  As Cal Evans wrote the other day --

&quot;The PHP community has matured to the point where we don’t feel the need to be Zealots. We can respect other languages as good at what they do, even if the developers in other communities don’t offer the same respect back.&quot;

Dave</description>
		<content:encoded><![CDATA[<p>Brandon, thanks for responding to Stagner&#8217;s &#8220;drive-by comparison&#8221; in a productive manner.  As Cal Evans wrote the other day &#8211;</p>
<p>&#8220;The PHP community has matured to the point where we don’t feel the need to be Zealots. We can respect other languages as good at what they do, even if the developers in other communities don’t offer the same respect back.&#8221;</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: artur ejsmont</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-906</link>
		<dc:creator>artur ejsmont</dc:creator>
		<pubDate>Wed, 12 Aug 2009 14:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-906</guid>
		<description>LOL

1. Never believe benchmarks with agenda. 

2. if your benchmark is 100 times faster on different machine you probably screwed up the setup ;- ) or .... you get errors that return instantly and you are not checking for that ;-)

3. shame he did all this stupid loop-the-loop instead of something more interesing like how much does it take to search the xml or parse it or do some more complex things. Same thing with massive inclusions etc.

PHP is cool and all benchmarks lie.

Anyone knows some extensive benchmark suite for PHP let me know :- )
I really dream of a nice benchmarking suite for PHP not only to compare platforms but for internal validation and configuration tweaks. 

Art</description>
		<content:encoded><![CDATA[<p>LOL</p>
<p>1. Never believe benchmarks with agenda. </p>
<p>2. if your benchmark is 100 times faster on different machine you probably screwed up the setup ;- ) or &#8230;. you get errors that return instantly and you are not checking for that ;-)</p>
<p>3. shame he did all this stupid loop-the-loop instead of something more interesing like how much does it take to search the xml or parse it or do some more complex things. Same thing with massive inclusions etc.</p>
<p>PHP is cool and all benchmarks lie.</p>
<p>Anyone knows some extensive benchmark suite for PHP let me know :- )<br />
I really dream of a nice benchmarking suite for PHP not only to compare platforms but for internal validation and configuration tweaks. </p>
<p>Art</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Bergheim</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-905</link>
		<dc:creator>Thomas Bergheim</dc:creator>
		<pubDate>Wed, 12 Aug 2009 13:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-905</guid>
		<description>@Duane
Ah yes. Sometimes the stack can be partly blamed though :) For instance, there are a good number of the gazillion web-frameworks that bring in so much &quot;bling&quot; that it really takes up a lot in terms of bootstrapping (of course it was your own fault for using it in the first place!) (case in point: Zend Framework handled 29 res/sec, opcached of course, on my computer, while django doing the same handled almost 200! - they provide different things of course so this is a framework comparison). 

However usually most of the time spent in webapps these days ends up in SQL-statements so I agree that it is not as important as these &quot;synthetic&quot; benchmarks seem to imply.

Still, I like knowing in which ballpark various languages lie when doing various primitive operations, that might just be me though..</description>
		<content:encoded><![CDATA[<p>@Duane<br />
Ah yes. Sometimes the stack can be partly blamed though :) For instance, there are a good number of the gazillion web-frameworks that bring in so much &#8220;bling&#8221; that it really takes up a lot in terms of bootstrapping (of course it was your own fault for using it in the first place!) (case in point: Zend Framework handled 29 res/sec, opcached of course, on my computer, while django doing the same handled almost 200! &#8211; they provide different things of course so this is a framework comparison). </p>
<p>However usually most of the time spent in webapps these days ends up in SQL-statements so I agree that it is not as important as these &#8220;synthetic&#8221; benchmarks seem to imply.</p>
<p>Still, I like knowing in which ballpark various languages lie when doing various primitive operations, that might just be me though..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duane Gran</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-904</link>
		<dc:creator>Duane Gran</dc:creator>
		<pubDate>Wed, 12 Aug 2009 12:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-904</guid>
		<description>@tsb
Sorry if I implied that raw speed wasn&#039;t important.  My main point was that most people who experience speed issues look for failure in the application stack instead of in the application code.  You do however bring up a good point that scalability and performance are different matters.  My bad.</description>
		<content:encoded><![CDATA[<p>@tsb<br />
Sorry if I implied that raw speed wasn&#8217;t important.  My main point was that most people who experience speed issues look for failure in the application stack instead of in the application code.  You do however bring up a good point that scalability and performance are different matters.  My bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tsb</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-902</link>
		<dc:creator>tsb</dc:creator>
		<pubDate>Wed, 12 Aug 2009 11:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-902</guid>
		<description>@Duane
I&#039;m sorry, how are ORDERS OF MAGNITUDE not important, just because &quot;evidently it will still work, as shown by Facebook and Wikipedia&quot;?

The article isn&#039;t about scalability, it is about raw performance. And php is s-l-o-w, that is no secret (however, I have no idea about how acurate these benchmarks are). Really, C approaches 3 orders of magnitude that of PHP for many things. 

This &quot;throw more servers at it&quot;-mentality really is not a good engineering-standpoint at all. And caching the hell out of your website because the language is horribly slow does not count in this context.

@Joe: Use APC or xcache (http://xcache.lighttpd.net/) or something similar, also throw in Mono on Linux :)</description>
		<content:encoded><![CDATA[<p>@Duane<br />
I&#8217;m sorry, how are ORDERS OF MAGNITUDE not important, just because &#8220;evidently it will still work, as shown by Facebook and Wikipedia&#8221;?</p>
<p>The article isn&#8217;t about scalability, it is about raw performance. And php is s-l-o-w, that is no secret (however, I have no idea about how acurate these benchmarks are). Really, C approaches 3 orders of magnitude that of PHP for many things. </p>
<p>This &#8220;throw more servers at it&#8221;-mentality really is not a good engineering-standpoint at all. And caching the hell out of your website because the language is horribly slow does not count in this context.</p>
<p>@Joe: Use APC or xcache (<a href="http://xcache.lighttpd.net/" rel="nofollow">http://xcache.lighttpd.net/</a>) or something similar, also throw in Mono on Linux :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Stagner</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-896</link>
		<dc:creator>Joe Stagner</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-896</guid>
		<description>Brandon - as I&#039;m researching op code cahcing for my next set of tests. Is it really true that theONLY way to get APC for Windows / PHP 5.2 is to buildit from source ?</description>
		<content:encoded><![CDATA[<p>Brandon &#8211; as I&#8217;m researching op code cahcing for my next set of tests. Is it really true that theONLY way to get APC for Windows / PHP 5.2 is to buildit from source ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-895</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-895</guid>
		<description>Now I know. ;-) Thanks for clearing that up.</description>
		<content:encoded><![CDATA[<p>Now I know. ;-) Thanks for clearing that up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Stagner</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-893</link>
		<dc:creator>Joe Stagner</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-893</guid>
		<description>And btw - the code was published at the same time as the orrigional article.</description>
		<content:encoded><![CDATA[<p>And btw &#8211; the code was published at the same time as the orrigional article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Stagner</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-892</link>
		<dc:creator>Joe Stagner</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-892</guid>
		<description>Just kidding Brandon :) 

PLEASE email me your suggestions as this was only the first of many perf tests I want to do and I - I have been a PHP developer longer than I&#039;ve been a .NET developer and I&#039;m not interested &quot;engineered&quot; results.

If PHP on Windows is not ACTUALLY faster, and if ASP.NET is not ACTUALLY faster, I want to make it that way.

-Joe</description>
		<content:encoded><![CDATA[<p>Just kidding Brandon :) </p>
<p>PLEASE email me your suggestions as this was only the first of many perf tests I want to do and I &#8211; I have been a PHP developer longer than I&#8217;ve been a .NET developer and I&#8217;m not interested &#8220;engineered&#8221; results.</p>
<p>If PHP on Windows is not ACTUALLY faster, and if ASP.NET is not ACTUALLY faster, I want to make it that way.</p>
<p>-Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Stagner</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-891</link>
		<dc:creator>Joe Stagner</dc:creator>
		<pubDate>Tue, 11 Aug 2009 18:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-891</guid>
		<description>Samuel, 

Don&#039;t worry. Brandon is a tool and if I said eating dog shit was bad for you - he&#039;d argue with me about it ! :) 

-Joe</description>
		<content:encoded><![CDATA[<p>Samuel, </p>
<p>Don&#8217;t worry. Brandon is a tool and if I said eating dog shit was bad for you &#8211; he&#8217;d argue with me about it ! :) </p>
<p>-Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel Folkes</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-888</link>
		<dc:creator>Samuel Folkes</dc:creator>
		<pubDate>Tue, 11 Aug 2009 17:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-888</guid>
		<description>Brandon, it is not his intent that I doubt. It the pertinence of the tests and the environment in which they were conducted. PHP on Windows means a license but ASP.NET on Windows means 2 (or 3 if you count the inevitable inclusion of SQL Server). I will with no hesitation declare that I am a PHP advocate. I use PHP loving its strengths and accepting its weaknesses and limitations. As you stated in your article, as humans we love comparisons. We love numbers and statistics. However if one can truly accept the limitations of their chosen development tool then the numbers and the statistics should become almost irrelevant. I must admit, I am very interested in seeing the numbers (produced from fair, balanced tests of course), but that interest is purely academic. If we all adhere to the tried tested and proven concept of using the right tool for the job, in the end, the outcome of this debate will (should) have very little consequence.</description>
		<content:encoded><![CDATA[<p>Brandon, it is not his intent that I doubt. It the pertinence of the tests and the environment in which they were conducted. PHP on Windows means a license but ASP.NET on Windows means 2 (or 3 if you count the inevitable inclusion of SQL Server). I will with no hesitation declare that I am a PHP advocate. I use PHP loving its strengths and accepting its weaknesses and limitations. As you stated in your article, as humans we love comparisons. We love numbers and statistics. However if one can truly accept the limitations of their chosen development tool then the numbers and the statistics should become almost irrelevant. I must admit, I am very interested in seeing the numbers (produced from fair, balanced tests of course), but that interest is purely academic. If we all adhere to the tried tested and proven concept of using the right tool for the job, in the end, the outcome of this debate will (should) have very little consequence.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-887</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-887</guid>
		<description>Samuel, I think that Joe&#039;s intent was good and that while he may have known that ASP.NET has a built-in bytecode cache, I doubt he was trying to pull a once-over on anyone.

Microsoft has invested considerably in the last few years to get PHP to run better on the Windows platform, and I applaud their effort. Even if developers don&#039;t use ASP.NET to build applications, getting them to use Windows still means a license. And I know that Microsoft is interested in remaining relevant, which they have to support PHP well in order to do.

I work in a shop that uses a number of different languages, and I&#039;ve learned that languages are tools that are used for a specific purpose. You don&#039;t use a hammer to dig a ditch, and likewise you don&#039;t use PHP to build desktop applications, for example. 

And though I make a dig at ASP.NET at the end of my article, I&#039;m willing to admit that I&#039;d use it if the situation called for it. To interface with Microsoft database tools, I don&#039;t think anything beats it. I want to make sure the debate remains civil; if our product is really better we can win the debate by proving it.</description>
		<content:encoded><![CDATA[<p>Samuel, I think that Joe&#8217;s intent was good and that while he may have known that ASP.NET has a built-in bytecode cache, I doubt he was trying to pull a once-over on anyone.</p>
<p>Microsoft has invested considerably in the last few years to get PHP to run better on the Windows platform, and I applaud their effort. Even if developers don&#8217;t use ASP.NET to build applications, getting them to use Windows still means a license. And I know that Microsoft is interested in remaining relevant, which they have to support PHP well in order to do.</p>
<p>I work in a shop that uses a number of different languages, and I&#8217;ve learned that languages are tools that are used for a specific purpose. You don&#8217;t use a hammer to dig a ditch, and likewise you don&#8217;t use PHP to build desktop applications, for example. </p>
<p>And though I make a dig at ASP.NET at the end of my article, I&#8217;m willing to admit that I&#8217;d use it if the situation called for it. To interface with Microsoft database tools, I don&#8217;t think anything beats it. I want to make sure the debate remains civil; if our product is really better we can win the debate by proving it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel Folkes</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-886</link>
		<dc:creator>Samuel Folkes</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-886</guid>
		<description>Brandon, I&#039;m very glad you wrote this article. That ASP/PHP comparison stinks from the bottom up for a number of reasons in cluding but not limited to the fact that these tests were carried out in an environment that did not mimic a real world production evironment closely enough. Of course, Hardly anyone from Microsoft has given PHP the time of day before now. I wholeheartedly believe that Mr. Stagner&#039;s blog post is an indication that like linux, PHP is now a huge concern for Microsoft as formidable competitor. It is no longer prudent for them to ignore the strides that PHP as a viable and in my opinion preferable alternative to ASP has taken. I think we should expect more of these tainted assertions to surface in the near future. I say we use Facebook and Wikipedia as our benchmarks. Nothing makes a statement like some good old action.

P.S. Nice work revealing that ASP.NET has a built in bytecode cache. That&#039;s something I&#039;m almost sure Mr. Stagner was aware of but failed to mention in his article.</description>
		<content:encoded><![CDATA[<p>Brandon, I&#8217;m very glad you wrote this article. That ASP/PHP comparison stinks from the bottom up for a number of reasons in cluding but not limited to the fact that these tests were carried out in an environment that did not mimic a real world production evironment closely enough. Of course, Hardly anyone from Microsoft has given PHP the time of day before now. I wholeheartedly believe that Mr. Stagner&#8217;s blog post is an indication that like linux, PHP is now a huge concern for Microsoft as formidable competitor. It is no longer prudent for them to ignore the strides that PHP as a viable and in my opinion preferable alternative to ASP has taken. I think we should expect more of these tainted assertions to surface in the near future. I say we use Facebook and Wikipedia as our benchmarks. Nothing makes a statement like some good old action.</p>
<p>P.S. Nice work revealing that ASP.NET has a built in bytecode cache. That&#8217;s something I&#8217;m almost sure Mr. Stagner was aware of but failed to mention in his article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-883</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Tue, 11 Aug 2009 14:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-883</guid>
		<description>Sadly people do this, Steve. It&#039;s not recommended, though.</description>
		<content:encoded><![CDATA[<p>Sadly people do this, Steve. It&#8217;s not recommended, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Clay</title>
		<link>http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/#comment-882</link>
		<dc:creator>Steve Clay</dc:creator>
		<pubDate>Tue, 11 Aug 2009 14:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brandonsavage.net/?p=529#comment-882</guid>
		<description>Lesson: PHP without a byte-code cache on a desktop OS is not ideal. Good thing &lt;em&gt;no one does this&lt;/em&gt;.</description>
		<content:encoded><![CDATA[<p>Lesson: PHP without a byte-code cache on a desktop OS is not ideal. Good thing <em>no one does this</em>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 4/11 queries in 0.006 seconds using disk: basic
Content Delivery Network via Amazon Web Services: S3: files.brandonsavage.net.s3.amazonaws.com

Served from: www.brandonsavage.net @ 2012-02-07 04:37:50 -->
