Stephen Sykes wrote: > Brent, > > A report from the field... > > We have been using your patches in a production Rails environment > since you released them, and this is on x86_64-linux. > > We notice no problems, ruby works well and is significantly faster. The patches also appear to help method-call performance a bit: BEFORE: $ ./ruby -I lib ../jruby/bench/language/bench_method_dispatch_only.rb Test ruby method: 100k loops calling self's foo 100 times 1.580000 0.010000 1.590000 ( 1.619531) 1.570000 0.000000 1.570000 ( 1.609721) 1.610000 0.010000 1.620000 ( 1.627628) 1.570000 0.010000 1.580000 ( 1.600705) 1.580000 0.000000 1.580000 ( 1.601550) 1.570000 0.010000 1.580000 ( 1.597049) 1.570000 0.010000 1.580000 ( 1.608728) 1.570000 0.010000 1.580000 ( 1.594988) 1.570000 0.000000 1.570000 ( 1.601885) 1.570000 0.010000 1.580000 ( 1.630782) [headius @ 247:~/projects/ruby-1.8.7-p72] $ ./ruby -I lib ../jruby/bench/bench_tak.rb 10 user system total real 13.510000 0.060000 13.570000 ( 13.768144) 13.530000 0.070000 13.600000 ( 13.773649) AFTER: $ ./ruby -I lib ../jruby/bench/language/bench_method_dispatch_only.rb Test ruby method: 100k loops calling self's foo 100 times 1.360000 0.010000 1.370000 ( 1.416073) 1.350000 0.000000 1.350000 ( 1.381519) 1.360000 0.010000 1.370000 ( 1.376705) 1.350000 0.000000 1.350000 ( 1.380676) 1.350000 0.010000 1.360000 ( 1.377904) 1.360000 0.010000 1.370000 ( 1.465818) 1.350000 0.000000 1.350000 ( 1.379431) 1.350000 0.010000 1.360000 ( 1.372702) 1.340000 0.010000 1.350000 ( 1.374763) 1.350000 0.010000 1.360000 ( 1.376614) $ ./ruby -I lib ../jruby/bench/bench_tak.rb 10 user system total real 12.860000 0.060000 12.920000 ( 13.091790) 12.950000 0.060000 13.010000 ( 13.241058) For comparison, Ruby 1.9.1RC1 numbers: $ ruby1.9 ../jruby/bench/language/bench_method_dispatch_only.rb Test ruby method: 100k loops calling self's foo 100 times 0.650000 0.000000 0.650000 ( 0.665707) 0.650000 0.010000 0.660000 ( 0.657540) 0.650000 0.000000 0.650000 ( 0.662093) 0.650000 0.010000 0.660000 ( 0.667457) 0.650000 0.000000 0.650000 ( 0.670909) 0.650000 0.000000 0.650000 ( 0.665737) 0.650000 0.010000 0.660000 ( 0.664140) 0.650000 0.000000 0.650000 ( 0.667239) 0.650000 0.000000 0.650000 ( 0.662808) 0.650000 0.010000 0.660000 ( 0.661229) $ ruby1.9 ../jruby/bench/bench_tak.rb 10 user system total real 2.900000 0.010000 2.910000 ( 2.951113) 2.890000 0.020000 2.910000 ( 2.958036) - Charlie