From: Steve Chan Date: 2008-01-11T10:10:03+09:00 Subject: Re: JRuby 1.1 RC 1 Released Thanks for getting this release out - I've been tracking progress on the blogs and mailing lists and was really looking forward to seeing the results. Just to add another datapoint, here are some timings for how jruby performs on a script that I run fairly regularly. Its a REXML stream parser that parses the output from a network scanning tool, and outputs any differences noted in security issues identified by the the scanner. Its a script used for real work, and not a synthetic benchmark. For these runs, I ran each configuration 5 times on a fairly quiescent CentOS machine, and averaged the results. The files that were diffed were added up to almost 19MB total. The Ruby build is a little older (1.8.4) and the Java VM is relatively recent ( 1.6.0_02) Time Version 2m18.463s Ruby 1.8.4 3m45.140s JRuby 1.1RC1 2m40.635s JRuby 1.1RC1 -J-server 2m50.922s JRuby 1.1RC1 -J-server +C 2m36.970s JRuby 1.1RC1 -J-server -J-Djruby.compile.frameless=true 2m33.344s JRuby 1.1RC1 -J-server -J-Djruby.compile.frameless=true -J- Djruby.compile.boxed=true The difference in times between the last 2 runs is small enough to be within the margin or error for these sorts of things. It is pretty close to the speed of the 1.8.4 Ruby interpreter, but not quite there - it would probably be competitive maybe even a little faster if the JVM startup and code compilation overhead were amortized over a much longer run. Steve