<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Bits and pieces of thoughts and personal achievements &#187; osx</title>
	<atom:link href="http://hellohellonico.wordpress.com/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://hellohellonico.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 21 Sep 2007 01:53:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='hellohellonico.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/fef97b59e5724bc308a4c1f5643fdebc?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Bits and pieces of thoughts and personal achievements &#187; osx</title>
		<link>http://hellohellonico.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hellohellonico.wordpress.com/osd.xml" title="Bits and pieces of thoughts and personal achievements" />
		<item>
		<title>OpenWFEru on JRuby! Getting there &#8230;</title>
		<link>http://hellohellonico.wordpress.com/2007/09/21/openwferu-on-jruby-getting-there/</link>
		<comments>http://hellohellonico.wordpress.com/2007/09/21/openwferu-on-jruby-getting-there/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 01:22:06 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://hellohellonico.wordpress.com/2007/09/21/openwferu-on-jruby-getting-there/</guid>
		<description><![CDATA[ Testing JRuby rev 4363 with OpenWFEru rev 1093 on OSX, with Java6 (1.6.0-dp). Ruby used was 1.8.6 (patch 0) which is known to have some threading problems.
All the jruby tests have -O -J-server options added. (Only those ones, compared to the vanilla jruby script)
 1. Functional testing
jruby -Ilib:test test/ft_tests.rb
Finished in 63.312000000000005 seconds.
215 tests, 473 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellohellonico.wordpress.com&blog=1387978&post=17&subd=hellohellonico&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> Testing <a href="http://jruby.codehaus.org/">JRuby</a> rev 4363 with <a href="http://openwferu.rubyforge.org/">OpenWFEru</a> rev 1093 on OSX, with Java6 (1.6.0-dp). Ruby used was 1.8.6 (patch 0) which is known to have <a href="http://groups.google.com/group/ruby-talk-google/browse_frm/thread/101b347655febbf0/114ee4576a1960c2?lnk=gst&amp;q=1.8.6+thread+problems&amp;rnum=1#114ee4576a1960c2">some threading problems.</a></p>
<p>All the jruby tests have -O -J-server options added. (Only those ones, compared to the vanilla jruby script)</p>
<h1><a href="http://groups.google.com/group/ruby-talk-google/browse_frm/thread/101b347655febbf0/114ee4576a1960c2?lnk=gst&amp;q=1.8.6+thread+problems&amp;rnum=1#114ee4576a1960c2"> </a>1. Functional testing</h1>
<p><strong>jruby -Ilib:test test/ft_tests.rb</strong></p>
<blockquote><p>Finished in 63.312000000000005 seconds.<br />
215 tests, 473 assertions, 0 failures, 0 errors</p></blockquote>
<p><strong>ruby -Ilib:test test/ft_tests.rb  </strong></p>
<blockquote><p>Finished in 53.718509 seconds.<br />
215 tests, 473 assertions, 0 failures, 0 errors</p></blockquote>
<h1>2. Quick in-memory testing</h1>
<p><strong>jruby -Ilib:test test/rake_qtest.rb</strong></p>
<blockquote><p>Finished in 75.07900000000001 seconds.<br />
291 tests, 765 assertions, 1 failures, 0 errors</p></blockquote>
<p><strong>ruby -Ilib:test test/rake_qtest.rb</strong></p>
<blockquote><p>Finished in 64.828691 seconds.<br />
291 tests, 770 assertions, 0 failures, 1 errors</p></blockquote>
<h1>3. Load testing</h1>
<p><strong>jruby -Ilib:test test/ft_26c_load.rb </strong></p>
<blockquote><p>Finished in 47.230000000000004 seconds.<br />
1 tests, 1 assertions, 0 failures, 0 errors</p></blockquote>
<p><strong>ruby -Ilib:test test/ft_26c_load.rb</strong></p>
<blockquote><p>Finished in 21.641532 seconds.<br />
1 tests, 1 assertions, 0 failures, 0 errors</p></blockquote>
<h1>4. Thread testing (experimental)</h1>
<p><strong>jruby -Ilib:test test/ft_26b_load.rb </strong></p>
<blockquote><p>(hanging) doesn&#8217;t end</p></blockquote>
<p><strong>ruby -Ilib:test test/ft_26b_load.rb</strong></p>
<blockquote><p>Finished in 3.658117 seconds.<br />
1 tests, 1 assertions, 0 failures, 0 errors</p></blockquote>
<h1>5. Long tests (cron, scheduler and such)</h1>
<p><strong>jruby -Ilib:test test/rake_ltest.rb</strong></p>
<blockquote><p>Finished in 624.205 seconds.<br />
45 tests, 89 assertions, 0 failures, 0 errors</p></blockquote>
<p><strong>ruby -Ilib:test test/rake_ltest.rb</strong></p>
<blockquote><p>Finished in 620.397724 seconds.<br />
45 tests, 89 assertions, 1 failures, 0 errors</p></blockquote>
<h1>6. Conclusion</h1>
<p>What this basically implies is that OpenWFEru on JRuby is almost there.  Functional, Scheduling, and Engine testing all working fine. With about 99% test success.</p>
<p>The load test is a bit of a downside. Load performance of jruby is  getting only half as fast, while it is almost on the par with cruby on the other test. But there has to be a way where this can be solved, and improved in the short term.</p>
<p>This is really cool. 2 months ago, the same tests results were completely different (deadlock, speed concerns&#8230;)  Congratulations to both teams.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hellohellonico.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hellohellonico.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hellohellonico.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hellohellonico.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hellohellonico.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hellohellonico.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hellohellonico.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hellohellonico.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hellohellonico.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hellohellonico.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hellohellonico.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hellohellonico.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellohellonico.wordpress.com&blog=1387978&post=17&subd=hellohellonico&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hellohellonico.wordpress.com/2007/09/21/openwferu-on-jruby-getting-there/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>
	</item>
		<item>
		<title>Switching between JVM on OSX</title>
		<link>http://hellohellonico.wordpress.com/2007/07/19/switching-between-jvm-on-osx/</link>
		<comments>http://hellohellonico.wordpress.com/2007/07/19/switching-between-jvm-on-osx/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 02:01:11 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://hellohellonico.wordpress.com/2007/07/19/switching-between-jvm-on-osx/</guid>
		<description><![CDATA[I wrote a little ruby script to switch the JVM on OSX. Nothing fancy, but this is saving quite some time when testing and debugging. 
 
 
 
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellohellonico.wordpress.com&blog=1387978&post=3&subd=hellohellonico&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I wrote a little ruby script to switch the JVM on OSX. Nothing fancy, but this is saving quite some time when testing and debugging. <span class="Apple-style-span" style="font-family:Arial;line-height:normal;">
<pre style="font-family:Bitstream Vera Sans Mono, Monaco, Courier, monospace;font-size:9pt;line-height:1.3em;margin-top:0.25em;"> </pre>
<pre style="font-family:Bitstream Vera Sans Mono, Monaco, Courier, monospace;font-size:9pt;line-height:1.3em;margin-top:0.25em;"><span style="font-family:Arial;font-size:16px;line-height:normal;white-space:normal;" class="Apple-style-span"><img src="http://hellohellonico.files.wordpress.com/2007/07/pict.png" alt="pict.png" /></span> </pre>
<p></span> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hellohellonico.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hellohellonico.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hellohellonico.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hellohellonico.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hellohellonico.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hellohellonico.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hellohellonico.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hellohellonico.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hellohellonico.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hellohellonico.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hellohellonico.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hellohellonico.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hellohellonico.wordpress.com&blog=1387978&post=3&subd=hellohellonico&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hellohellonico.wordpress.com/2007/07/19/switching-between-jvm-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://hellohellonico.files.wordpress.com/2007/07/pict.png" medium="image">
			<media:title type="html">pict.png</media:title>
		</media:content>
	</item>
	</channel>
</rss>