<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<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>Comments on: Performance comparison: Rails 1.2.6 vs 2.0.2</title>
	<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/</link>
	<description>Ecchi nanowa ikenai to omoimasu</description>
	<pubDate>Sat, 05 Jul 2008 18:39:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Hongli</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7970</link>
		<dc:creator>Hongli</dc:creator>
		<pubDate>Mon, 24 Mar 2008 22:23:52 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7970</guid>
		<description>My response was a joke. ;) But point taken.</description>
		<content:encoded><![CDATA[<p>My response was a joke. <img src='http://izumi.plan99.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> But point taken.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tangfucius</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7969</link>
		<dc:creator>tangfucius</dc:creator>
		<pubDate>Mon, 24 Mar 2008 22:08:52 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7969</guid>
		<description>Hongli, that was definitely one of the more interesting responses I've read in a while...  Your formula only works if part A and part B are separate, non-correlated entities... The "mathematically proven" formula used is based on assumptions that vary in validity when the application specific code changes...

You should know that rails and the applications run on it are rather sophisticated, a A + B formula is really an insufficient way to claim any plausible performance benchmark results.  It's like saying mysql is faster than oracle just because it does select statements faster on myisam tables than regular oracle selects...

I didn't mean to take any validity out of your benchmark results, but was simply suggesting more ways to improve the benchmark tests, thus hoping for a more thorough, accurate benchmark.

Good luck.</description>
		<content:encoded><![CDATA[<p>Hongli, that was definitely one of the more interesting responses I&#8217;ve read in a while&#8230;  Your formula only works if part A and part B are separate, non-correlated entities&#8230; The &#8220;mathematically proven&#8221; formula used is based on assumptions that vary in validity when the application specific code changes&#8230;</p>
<p>You should know that rails and the applications run on it are rather sophisticated, a A + B formula is really an insufficient way to claim any plausible performance benchmark results.  It&#8217;s like saying mysql is faster than oracle just because it does select statements faster on myisam tables than regular oracle selects&#8230;</p>
<p>I didn&#8217;t mean to take any validity out of your benchmark results, but was simply suggesting more ways to improve the benchmark tests, thus hoping for a more thorough, accurate benchmark.</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RX-7乗りの適当な日々</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7967</link>
		<dc:creator>RX-7乗りの適当な日々</dc:creator>
		<pubDate>Mon, 24 Mar 2008 13:54:17 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7967</guid>
		<description>&lt;strong&gt;[IT] Rails 1.2.6 と 2.0.2 のパフォーマンス比較...&lt;/strong&gt;

 先日のエントリ「RedmineでのRailsパフォーマンス比較(1.2.6 vs 2.0.2)」(d:id:rx7:20080221:p1)に続いて、Ruby on Railsのパフォーマンスに関する話題を1つ。 他のサイトでも、Rails2.0系と1.2系のパフォー...</description>
		<content:encoded><![CDATA[<p><strong>[IT] Rails 1.2.6 と 2.0.2 のパフォーマンス比較&#8230;</strong></p>
<p> 先日のエントリ「RedmineでのRailsパフォーマンス比較(1.2.6 vs 2.0.2)」(d:id:rx7:20080221:p1)に続いて、Ruby on Railsのパフォーマンスに関する話題を1つ。 他のサイトでも、Rails2.0系と1.2系のパフォー&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hongli</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7956</link>
		<dc:creator>Hongli</dc:creator>
		<pubDate>Thu, 20 Mar 2008 22:08:27 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7956</guid>
		<description>tangfucius: You can. The dummy application essentially benchmarks the foundation.

Every Rails application consists of two parts, A (the Rails platform) and B (the application-specific code). Let the &lt;b&gt;t(x)&lt;/b&gt; be the time that part x spends one request. Then the total time that the application spends on one request is &lt;b&gt;t(A) + t(B)&lt;/b&gt;. Suppose &lt;b&gt;A1&lt;/b&gt; is Rails 1.2.6 and &lt;b&gt;A2&lt;/b&gt; is Rails 2.0.2. If &lt;b&gt;t(A2) &#60; t(A1)&lt;/b&gt;, then &lt;b&gt;t(A2) + t(B) &#60; t(A1) + t(B)&lt;/b&gt;.

Now, we observe that the dummy application has very little app-specific code. So &lt;b&gt;t(B) ≈ 0&lt;/b&gt;. Then we can say: &lt;b&gt;t(A) + t(B) ≈ t(A)&lt;/b&gt;.

I have mathematically proven that benchmarking the dummy application is a useful benchmark for the Rails framework. QED.</description>
		<content:encoded><![CDATA[<p>tangfucius: You can. The dummy application essentially benchmarks the foundation.</p>
<p>Every Rails application consists of two parts, A (the Rails platform) and B (the application-specific code). Let the <b>t(x)</b> be the time that part x spends one request. Then the total time that the application spends on one request is <b>t(A) + t(B)</b>. Suppose <b>A1</b> is Rails 1.2.6 and <b>A2</b> is Rails 2.0.2. If <b>t(A2) &lt; t(A1)</b>, then <b>t(A2) + t(B) &lt; t(A1) + t(B)</b>.</p>
<p>Now, we observe that the dummy application has very little app-specific code. So <b>t(B) ≈ 0</b>. Then we can say: <b>t(A) + t(B) ≈ t(A)</b>.</p>
<p>I have mathematically proven that benchmarking the dummy application is a useful benchmark for the Rails framework. QED.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tangfucius</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7955</link>
		<dc:creator>tangfucius</dc:creator>
		<pubDate>Thu, 20 Mar 2008 22:02:08 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7955</guid>
		<description>you really can't benchmark a software framework based on a dummy application...  what about doing benchmarks for a real app that uses the many features of rails?</description>
		<content:encoded><![CDATA[<p>you really can&#8217;t benchmark a software framework based on a dummy application&#8230;  what about doing benchmarks for a real app that uses the many features of rails?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-03-20 &#171; Brent Sordyl&#8217;s Blog</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7950</link>
		<dc:creator>links for 2008-03-20 &#171; Brent Sordyl&#8217;s Blog</dc:creator>
		<pubDate>Thu, 20 Mar 2008 15:23:59 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7950</guid>
		<description>[...] Performance comparison: Rails 1.2.6 vs 2.0.2 Even with sessions off, Rails 2.0 is still 30% faster! So the cookie session store isn’t the only thing responsible for the performance improvement! (tags: performance rubyonrails) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Performance comparison: Rails 1.2.6 vs 2.0.2 Even with sessions off, Rails 2.0 is still 30% faster! So the cookie session store isn’t the only thing responsible for the performance improvement! (tags: performance rubyonrails) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crónica de una vida - Rendimiento de Rails 2.0 y el futuro Rails 2.1</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7946</link>
		<dc:creator>Crónica de una vida - Rendimiento de Rails 2.0 y el futuro Rails 2.1</dc:creator>
		<pubDate>Thu, 20 Mar 2008 08:33:57 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7946</guid>
		<description>[...] Riding Rails nos informan que alguien ha hecho una comparativa demostrando que Rails 2.0 es entre un 30 y 50% más rápido que Rails 1.2.X. Además otro estudio [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Riding Rails nos informan que alguien ha hecho una comparativa demostrando que Rails 2.0 es entre un 30 y 50% más rápido que Rails 1.2.X. Además otro estudio [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-03-20 &#171; Bloggitation</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7935</link>
		<dc:creator>links for 2008-03-20 &#171; Bloggitation</dc:creator>
		<pubDate>Thu, 20 Mar 2008 00:20:37 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7935</guid>
		<description>[...] Performance comparison: Rails 1.2.6 vs 2.0.2 (tags: rails ruby sysadmin tuning) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Performance comparison: Rails 1.2.6 vs 2.0.2 (tags: rails ruby sysadmin tuning) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mabelle</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7931</link>
		<dc:creator>David Mabelle</dc:creator>
		<pubDate>Wed, 19 Mar 2008 21:57:11 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7931</guid>
		<description>Large fixtures (20 megs) can completely tie up all the memory or crash the process.</description>
		<content:encoded><![CDATA[<p>Large fixtures (20 megs) can completely tie up all the memory or crash the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Mabelle</title>
		<link>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7930</link>
		<dc:creator>David Mabelle</dc:creator>
		<pubDate>Wed, 19 Mar 2008 21:39:07 +0000</pubDate>
		<guid>http://izumi.plan99.net/blog/index.php/2008/03/18/performance-comparison-rails-126-vs-202/#comment-7930</guid>
		<description>The major bottleneck still exist with using fixtures to import an existing database.  It takes 30 seconds to restore a database in Postgresql. It takes a day to bring in the same data with rails.</description>
		<content:encoded><![CDATA[<p>The major bottleneck still exist with using fixtures to import an existing database.  It takes 30 seconds to restore a database in Postgresql. It takes a day to bring in the same data with rails.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
