I have a small (200 lines) program that processes XML files and
creates ruby object trees. It uses the native Ruby xml library REXML
a great deal.
On my MacOS X 2GHz macintel system using the latest YARV speed up my
code by a factor of 2.
ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]
ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i686-darwin8.6.1]
YARVCore 0.4.0 Rev: 502 (2006-05-18) [opts: ]
My program processes BlackBoard XML course archives and produces
numerous statistics about the discussion threads. In the original
program it then produced an excel output file. In these tests that
function was removed. In my test I processed a course with 26
separate XML files with discussion threads and created ruby objects
representing the info I am interested in.