NO PATCHES
~/projects/jruby ➔ jruby bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 11.664000 0.000000 11.664000 ( 11.617000)
user system total real
IO.foreach(file) 11.391000 0.000000 11.391000 ( 11.391000)
user system total real
IO.foreach(file) ^C
~/projects/jruby ➔ jruby bench/bench_io_foreach_wide.rb
user system total real
IO.foreach(file) 9.877000 0.000000 9.877000 ( 9.822000)
user system total real
IO.foreach(file) 9.223000 0.000000 9.223000 ( 9.223000)
user system total real
IO.foreach(file) 9.247000 0.000000 9.247000 ( 9.247000)
user system total real
IO.foreach(file) ^C
JUST RJ PATCH
~/projects/jruby ➔ jruby bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 12.270000 0.000000 12.270000 ( 12.228000)
user system total real
IO.foreach(file) 11.663000 0.000000 11.663000 ( 11.660000)
user system total real
IO.foreach(file) 11.651000 0.000000 11.651000 ( 11.651000)
user system total real
IO.foreach(file) ^C
~/projects/jruby ➔ jruby bench/bench_io_foreach_wide.rb
user system total real
IO.foreach(file) 7.214000 0.000000 7.214000 ( 7.168000)
user system total real
IO.foreach(file) wide 6.578000 0.000000 6.578000 ( 6.578000)
user system total real
IO.foreach(file) 6.632000 0.000000 6.632000 ( 6.632000)
user system total real
IO.foreach(file) 6.627000 0.000000 6.627000 ( 6.627000)
user system total real
IO.foreach(file) ^C
RJ PATCH PLUS LINENO CLEANUP
~/projects/jruby ➔ jruby bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 10.363000 0.000000 10.363000 ( 10.322000)
user system total real
IO.foreach(file) 9.939000 0.000000 9.939000 ( 9.939000)
user system total real
IO.foreach(file) 9.988000 0.000000 9.988000 ( 9.988000)
user system total real
IO.foreach(file) 9.950000 0.000000 9.950000 ( 9.950000)
user system total real
IO.foreach(file) 10.051000 0.000000 10.051000 ( 10.051000)
~/projects/jruby ➔ jruby bench/bench_io_foreach_wide.rb
user system total real
IO.foreach(file) 7.064000 0.000000 7.064000 ( 7.021000)
user system total real
IO.foreach(file) 6.536000 0.000000 6.536000 ( 6.535000)
user system total real
IO.foreach(file) 6.586000 0.000000 6.586000 ( 6.587000)
user system total real
IO.foreach(file) 6.600000 0.000000 6.600000 ( 6.600000)
user system total real
IO.foreach(file) ^C
RUBY 1.8.6
~/projects/jruby ➔ ruby bench/bench_io_foreach.rb
user system total real
IO.foreach(file) 7.130000 1.810000 8.940000 ( 9.025501)
user system total real
IO.foreach(file) 7.180000 1.830000 9.010000 ( 9.136718)
user system total real
IO.foreach(file) 7.120000 1.810000 8.930000 ( 8.987800)
user system total real
IO.foreach(file) 7.190000 1.920000 9.110000 ( 9.400424)
user system total real
~/projects/jruby ➔ ruby bench/bench_io_foreach_wide.rb
user system total real
IO.foreach(file) 4.740000 6.010000 10.750000 ( 10.825298)
user system total real
IO.foreach(file) 4.750000 6.020000 10.770000 ( 10.835102)
user system total real
IO.foreach(file) 4.760000 6.110000 10.870000 ( 10.965686)
user system total real
IO.foreach(file) ^Cbench/bench_io_foreach_wide.rb:21:in `foreach': Interrupt