From: Greg Halsey Date: 2007-11-04T09:34:21+09:00 Subject: Re: How fast does your Ruby run? >windows xp. intel core2 1.86GHz > > JRUBY: > > C:\jruby\jruby-trunk\bin>jruby calculate.rb > 55 > > It took 41.125 seconds to run. 24316 iterations per > second. > > Not so good. Let's disable ObjectSpace: > C:\jruby\jruby-trunk\bin>jruby -O calculate.rb > 55 > > It took 11.109 seconds to run. 90017 iterations per > second. > > That was good. Now let's give it some more juice: > C:\jruby\jruby-trunk\bin>jruby -J-server -O calculate.rb > 55 > > It took 5.75 seconds to run. 173913 iterations per > second. > -------------------------------------------- > MRI:One-Click > ruby calculate.rb > 55 > > Ruby 1.8.6 patch 0 on i386-mswin32 > It took 15.828 seconds to run. 63179 iterations per > second. #testing 1.9, yep it's fast; C:\cygwin\ruby1.9\bin>ruby calculate.rb 55 Ruby 1.9.0 patch 0 on i386-cygwin It took 3.847 seconds to run. 259942 iterations per second. -- Posted via http://www.ruby-forum.com/.