Hi all,
Did some benchmarking on MRI/JRuby to see if there’d be a noticeable
increase in
performance in some of the work I typically do. For background, most
of what I
use Ruby for these days is processing data output files that I create
from some
of my Java-coded bioinformatics tools. In other words, I have a whole
lot of data
that frequently needs to be processed.
The following are results of processing 30 files with 30000 lines each
in them,
all of which are manipulated in arrays (though not at the same time).
Here’s some
rough benchmarking just using require ‘benchmark’. To say the least, I
was
surprised at the difference between MRI and JRuby, nevermind JRuby –
server.
ruby
user system total real
341.500000 10.520000 352.020000 (371.315493)
jruby
user system total real
169.982000 0.000000 169.982000 (169.982000)
jruby --server
user system total real
125.332000 0.000000 125.332000 (125.332000)
I ran the results a few times and the numbers usually come out to
something like the above.
Its nice to see that we get this kind of speed up using JRuby :).
-Zac
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email