From: Charles Oliver Nutter Date: 2008-01-11T02:11:05+09:00 Subject: Re: [ANN] JRuby 1.1 RC 1 Released Sander Land wrote: > The benchmark depends on a ~1500 line library. I can send you an email > when I have the next release (in a few days), but I'm not sure if > digging through the library would be an effective use of your time. > The benchmark show that JRuby is a little slower, independent of the > specific selection, crossover or mutation algorithm used. The only > thing in the inner loop that all of these algorithms have in common > are the fitness evaluations. Yeah please do send an email then. I'd like to profile a bit and see if there's some bottleneck you're hitting in JRuby. > This script takes just the fitness evaluations, and it does seem the > problem is in this code: I'll have a look. On my system with Ruby compiled -O2 JRuby's equal or a little faster, but that's a bit disappointing. > I also ran one of my other benchmarks (a function optimization test) > which uses the same library. > 1.8 compiled : 81.39 > 1.9 compiled : 43.79 > JRuby -C: 95.28 > JRuby +C: 63.98 That's more the performance I'd expect to see. - Charlie