On Thu, Jul 21, 2011 at 10:01 AM, Jon Forums <redmine / ruby-lang.org> wrote:
> jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java]
> Rehearsal ----------------------------------------------------------
> core_rd_filelines_crlf 3.853000 0.000000 3.853000 ( 3.826000)
> ------------------------------------------------- total: 3.853000sec
>
>               user system total real
> core_rd_filelines_crlf 3.629000 0.000000 3.629000 ( 3.628000)

If this is at all perf-intensive, you should be running JRuby with
--server, which will use the faster "server" compiler in the JVM. It's
anywhere from 25-100% faster (1.25x to 2x) faster than "client" mode.

- Charlie