<?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/"
		>
<channel>
	<title>Comments on: JRuby slowdown from Rails 2.0.2 to 2.1.0</title>
	<atom:link href="http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/</link>
	<description>... finding time to write something useful is nontrivial ...</description>
	<lastBuildDate>Sat, 20 Dec 2008 03:58:34 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christian Seiler</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-231</link>
		<dc:creator>Christian Seiler</dc:creator>
		<pubDate>Thu, 17 Jul 2008 07:00:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-231</guid>
		<description>I just found out that jirb turns on ObjectSpace which makes script/console pretty much useless for benchmarking. Numbers without ObjectSpace look much better:

Rails 2.1
3.82 jruby -J-server -J-Xshare:off script/console
3.85 jruby -X-C -J-server -J-Xshare:off script/console
3.75 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console</description>
		<content:encoded><![CDATA[<p>I just found out that jirb turns on ObjectSpace which makes script/console pretty much useless for benchmarking. Numbers without ObjectSpace look much better:</p>
<p>Rails 2.1<br />
3.82 jruby -J-server -J-Xshare:off script/console<br />
3.85 jruby -X-C -J-server -J-Xshare:off script/console<br />
3.75 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Seiler</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-227</link>
		<dc:creator>Christian Seiler</dc:creator>
		<pubDate>Mon, 14 Jul 2008 18:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-227</guid>
		<description>latest JRuby trunk runs the test faster with Rails 2.1 than with 2.0:

JRuby rev7134
-------------
Rails 2.0
5.34 jruby -J-server -J-Xshare:off script/console
5.30 jruby -X-C -J-server -J-Xshare:off script/console

Rails 2.1
5.39 jruby -J-server -J-Xshare:off script/console
5.53 jruby -X-C -J-server -J-Xshare:off script/console

rev7165
-------
Rails 2.0
5.27 jruby -J-server -J-Xshare:off script/console
5.43 jruby -X-C -J-server -J-Xshare:off script/console
5.21 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console

Rails 2.1
5.23 jruby -J-server -J-Xshare:off script/console
5.31 jruby -X-C -J-server -J-Xshare:off script/console
5.18 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console</description>
		<content:encoded><![CDATA[<p>latest JRuby trunk runs the test faster with Rails 2.1 than with 2.0:</p>
<p>JRuby rev7134<br />
&#8212;&#8212;&#8212;&#8212;-<br />
Rails 2.0<br />
5.34 jruby -J-server -J-Xshare:off script/console<br />
5.30 jruby -X-C -J-server -J-Xshare:off script/console</p>
<p>Rails 2.1<br />
5.39 jruby -J-server -J-Xshare:off script/console<br />
5.53 jruby -X-C -J-server -J-Xshare:off script/console</p>
<p>rev7165<br />
&#8212;&#8212;-<br />
Rails 2.0<br />
5.27 jruby -J-server -J-Xshare:off script/console<br />
5.43 jruby -X-C -J-server -J-Xshare:off script/console<br />
5.21 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console</p>
<p>Rails 2.1<br />
5.23 jruby -J-server -J-Xshare:off script/console<br />
5.31 jruby -X-C -J-server -J-Xshare:off script/console<br />
5.18 jruby -J-server -J-Djruby.compile.fastest=true -J-Xshare:off script/console</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike McKinney</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-222</link>
		<dc:creator>Mike McKinney</dc:creator>
		<pubDate>Fri, 04 Jul 2008 21:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-222</guid>
		<description>@Christian: Mac OS X (10.4)  I have not had a chance to check things out on Linux yet.</description>
		<content:encoded><![CDATA[<p>@Christian: Mac OS X (10.4)  I have not had a chance to check things out on Linux yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Seiler</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-221</link>
		<dc:creator>Christian Seiler</dc:creator>
		<pubDate>Fri, 04 Jul 2008 17:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-221</guid>
		<description>Oh, with my setup things are even worse for JRuby.
Setup: JRuby 1.1.2 / Ubuntu / latst JDK6 / activerecord-jdbc-adapter 0.8.1

RAILS 2.1
5.95 jdk6 -J-server
2.68 MRI

RAILS 2.0
5.45 jdk6 -J-server
3.1 MRI

So Rails 2.1 is faster with MRI while it&#039;s slower with JRuby.
And JRuby/AR-JDBC is generally much slower than MRI.

@Mike: Which OS are you on?</description>
		<content:encoded><![CDATA[<p>Oh, with my setup things are even worse for JRuby.<br />
Setup: JRuby 1.1.2 / Ubuntu / latst JDK6 / activerecord-jdbc-adapter 0.8.1</p>
<p>RAILS 2.1<br />
5.95 jdk6 -J-server<br />
2.68 MRI</p>
<p>RAILS 2.0<br />
5.45 jdk6 -J-server<br />
3.1 MRI</p>
<p>So Rails 2.1 is faster with MRI while it&#8217;s slower with JRuby.<br />
And JRuby/AR-JDBC is generally much slower than MRI.</p>
<p>@Mike: Which OS are you on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike McKinney</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-220</link>
		<dc:creator>Mike McKinney</dc:creator>
		<pubDate>Fri, 04 Jul 2008 14:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-220</guid>
		<description>@Vladimir : interesting you saw no difference...</description>
		<content:encoded><![CDATA[<p>@Vladimir : interesting you saw no difference&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike McKinney</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-219</link>
		<dc:creator>Mike McKinney</dc:creator>
		<pubDate>Fri, 04 Jul 2008 14:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-219</guid>
		<description>@Christian Seller : ruby 1.8.6 for both Rails 2.0.2 and 2.1.0 were about 5.06 so there was no noticeable slowdown there</description>
		<content:encoded><![CDATA[<p>@Christian Seller : ruby 1.8.6 for both Rails 2.0.2 and 2.1.0 were about 5.06 so there was no noticeable slowdown there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Sizikov</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-218</link>
		<dc:creator>Vladimir Sizikov</dc:creator>
		<pubDate>Fri, 04 Jul 2008 08:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-218</guid>
		<description>I don&#039;t actually see much of a difference, in both JRuby and Ruby, the newer rails/activerecord is slower by 10% or so.

So, JRuby is getting faster (and the trunk is faster than released version 1.1.2), but newer activerecord is a bit slower with both JRuby and MRI, and I&#039;m not sure why.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t actually see much of a difference, in both JRuby and Ruby, the newer rails/activerecord is slower by 10% or so.</p>
<p>So, JRuby is getting faster (and the trunk is faster than released version 1.1.2), but newer activerecord is a bit slower with both JRuby and MRI, and I&#8217;m not sure why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Seiler</title>
		<link>http://blog.huikau.com/2008/07/04/jruby-slowdown-from-rails-202-to-210/comment-page-1/#comment-217</link>
		<dc:creator>Christian Seiler</dc:creator>
		<pubDate>Fri, 04 Jul 2008 08:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.huikau.com/?p=62#comment-217</guid>
		<description>And the MRI numbers of the same benchmark?</description>
		<content:encoded><![CDATA[<p>And the MRI numbers of the same benchmark?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
