From: Charles Oliver Nutter Date: 2008-01-09T10:19:40+09:00 Subject: Re: [ANN] JRuby 1.1 RC 1 Released Charles Oliver Nutter wrote: > Sander Land wrote: >> With all the blog posts about JRuby being posted, I thought I would >> finally try JRuby myself. >> I tested it on my genetic algorithms library. Lots of metaprogramming >> going on in the initialization, and a lot of calculations afterwards >> using the generated modules and classes. >> >> First tried my tests. >> Finished in 34.726 seconds. >> 33 tests, 626 assertions, 0 failures, 0 errors >> That's better than 1.9, which couldn't handle some of the >> metaprogramming. >> >> Then tried a benchmark: >> 1.8 : 676.75 seconds (ubuntu/apt-get) >> 1.9 : 161.99 seconds (svn/-O3/no enable-pthread) >> JRuby: 302.23 seconds (java opts -server, jruby +C) >> >> Did JRuby just outperform 1.8 by a factor >2 ? >> I'm impressed. Great job JRuby team. > > Wow, that's great to hear. There are a few experimental options you can > see running jruby --properties that might boost it further. They're not > all 100% safe, and may have side effects, but you can try them anyway > and see how the performance comes out. > > Especially look at -J-Djruby.compile.frameless, which improves some > benchmarks by a factor of 3. I realized that might confuse some...the full flag would be -J-Djruby.compile.frameless=true Fun stuff. - Charlie