MRI-1.8.6-p399: ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux] /usr/bin/time /home/kurt/local/ruby/1.8.6-p399/bin/ruby problem/array_include_short.rb "MRI-1.8.6-p399" "measurement/array_include_short-MRI-1.8.6-p399.rb" warmup: 1......2......3......4......5......6......7......8......9......10...... GO! user system total real n = 1 : x == y1 || ... 0.320000 0.000000 0.320000 ( 0.326747) n = 1 : [ ... ].include?(x) 0.490000 0.000000 0.490000 ( 0.482010) n = 1 : array.include?(x) 0.400000 0.000000 0.400000 ( 0.403714) n = 1 : case x; when y1, y2 ... 0.360000 0.000000 0.360000 ( 0.358318) n = 1 : case x; when *array 0.380000 0.000000 0.380000 ( 0.375687) n = 1 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.368888) n = 2 : x == y1 || ... 0.400000 0.000000 0.400000 ( 0.399416) n = 2 : [ ... ].include?(x) 0.550000 0.000000 0.550000 ( 0.549842) n = 2 : array.include?(x) 0.440000 0.000000 0.440000 ( 0.445908) n = 2 : case x; when y1, y2 ... 0.450000 0.000000 0.450000 ( 0.454071) n = 2 : case x; when *array 0.460000 0.000000 0.460000 ( 0.456306) n = 2 : hash.key?(x) 0.380000 0.000000 0.380000 ( 0.381098) n = 3 : x == y1 || ... 0.500000 0.000000 0.500000 ( 0.502912) n = 3 : [ ... ].include?(x) 0.600000 0.000000 0.600000 ( 0.600769) n = 3 : array.include?(x) 0.480000 0.010000 0.490000 ( 0.494559) n = 3 : case x; when y1, y2 ... 0.540000 0.000000 0.540000 ( 0.543382) n = 3 : case x; when *array 0.530000 0.000000 0.530000 ( 0.539611) n = 3 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.370410) n = 4 : x == y1 || ... 0.570000 0.000000 0.570000 ( 0.573679) n = 4 : [ ... ].include?(x) 0.660000 0.000000 0.660000 ( 0.660008) n = 4 : array.include?(x) 0.530000 0.000000 0.530000 ( 0.530079) n = 4 : case x; when y1, y2 ... 0.630000 0.000000 0.630000 ( 0.621780) n = 4 : case x; when *array 0.610000 0.000000 0.610000 ( 0.617187) n = 4 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.367285) n = 5 : x == y1 || ... 0.640000 0.000000 0.640000 ( 0.639350) n = 5 : [ ... ].include?(x) 0.710000 0.000000 0.710000 ( 0.701608) n = 5 : array.include?(x) 0.570000 0.000000 0.570000 ( 0.573255) n = 5 : case x; when y1, y2 ... 0.700000 0.000000 0.700000 ( 0.701365) n = 5 : case x; when *array 0.680000 0.000000 0.680000 ( 0.679729) n = 5 : hash.key?(x) 0.380000 0.000000 0.380000 ( 0.379758) n = 6 : x == y1 || ... 0.710000 0.000000 0.710000 ( 0.716824) n = 6 : [ ... ].include?(x) 0.770000 0.000000 0.770000 ( 0.765326) n = 6 : array.include?(x) 0.620000 0.000000 0.620000 ( 0.615562) n = 6 : case x; when y1, y2 ... 0.800000 0.000000 0.800000 ( 0.800018) n = 6 : case x; when *array 0.770000 0.000000 0.770000 ( 0.771292) n = 6 : hash.key?(x) 0.380000 0.000000 0.380000 ( 0.378789) n = 7 : x == y1 || ... 0.780000 0.000000 0.780000 ( 0.780697) n = 7 : [ ... ].include?(x) 0.810000 0.000000 0.810000 ( 0.811412) n = 7 : array.include?(x) 0.650000 0.000000 0.650000 ( 0.648017) n = 7 : case x; when y1, y2 ... 0.870000 0.000000 0.870000 ( 0.872289) n = 7 : case x; when *array 0.840000 0.000000 0.840000 ( 0.842358) n = 7 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.374259) n = 8 : x == y1 || ... 0.880000 0.000000 0.880000 ( 0.871847) n = 8 : [ ... ].include?(x) 0.870000 0.000000 0.870000 ( 0.876950) n = 8 : array.include?(x) 0.690000 0.000000 0.690000 ( 0.690164) n = 8 : case x; when y1, y2 ... 0.990000 0.000000 0.990000 ( 0.991737) n = 8 : case x; when *array 0.930000 0.000000 0.930000 ( 0.929594) n = 8 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.372740) n = 9 : x == y1 || ... 0.940000 0.000000 0.940000 ( 0.930700) n = 9 : [ ... ].include?(x) 0.910000 0.000000 0.910000 ( 0.911484) n = 9 : array.include?(x) 0.710000 0.000000 0.710000 ( 0.715843) n = 9 : case x; when y1, y2 ... 1.060000 0.000000 1.060000 ( 1.050485) n = 9 : case x; when *array 0.990000 0.000000 0.990000 ( 0.992341) n = 9 : hash.key?(x) 0.380000 0.000000 0.380000 ( 0.377121) n = 10 : x == y1 || ... 0.990000 0.000000 0.990000 ( 0.991291) n = 10 : [ ... ].include?(x) 0.980000 0.000000 0.980000 ( 0.980062) n = 10 : array.include?(x) 0.750000 0.000000 0.750000 ( 0.749423) n = 10 : case x; when y1, y2 ... 1.130000 0.000000 1.130000 ( 1.131302) n = 10 : case x; when *array 1.060000 0.000000 1.060000 ( 1.052154) n = 10 : hash.key?(x) 0.370000 0.000000 0.370000 ( 0.375137) FINISHED! 77.44user 0.02system 1:17.46elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+24outputs (0major+1133minor)pagefaults 0swaps MRI-1.8.7: ruby 1.8.7 (2010-04-20 patchlevel 254) [x86_64-linux] /usr/bin/time /home/kurt/local/ruby/1.8.7-git/bin/ruby problem/array_include_short.rb "MRI-1.8.7" "measurement/array_include_short-MRI-1.8.7.rb" warmup: 1......2......3......4......5......6......7......8......9......10...... GO! user system total real n = 1 : x == y1 || ... 0.610000 0.000000 0.610000 ( 0.608925) n = 1 : [ ... ].include?(x) 0.880000 0.000000 0.880000 ( 0.877573) n = 1 : array.include?(x) 0.710000 0.000000 0.710000 ( 0.708274) n = 1 : case x; when y1, y2 ... 0.660000 0.000000 0.660000 ( 0.666450) n = 1 : case x; when *array 0.740000 0.000000 0.740000 ( 0.731831) n = 1 : hash.key?(x) 0.660000 0.000000 0.660000 ( 0.664820) n = 2 : x == y1 || ... 0.740000 0.000000 0.740000 ( 0.748321) n = 2 : [ ... ].include?(x) 0.990000 0.000000 0.990000 ( 0.991949) n = 2 : array.include?(x) 0.790000 0.000000 0.790000 ( 0.791070) n = 2 : case x; when y1, y2 ... 0.820000 0.000000 0.820000 ( 0.817096) n = 2 : case x; when *array 0.860000 0.000000 0.860000 ( 0.865628) n = 2 : hash.key?(x) 0.660000 0.000000 0.660000 ( 0.669571) n = 3 : x == y1 || ... 0.930000 0.000000 0.930000 ( 0.927661) n = 3 : [ ... ].include?(x) 1.070000 0.000000 1.070000 ( 1.076788) n = 3 : array.include?(x) 0.870000 0.000000 0.870000 ( 0.870802) n = 3 : case x; when y1, y2 ... 0.960000 0.000000 0.960000 ( 0.959243) n = 3 : case x; when *array 1.010000 0.000000 1.010000 ( 1.007767) n = 3 : hash.key?(x) 0.660000 0.000000 0.660000 ( 0.662834) n = 4 : x == y1 || ... 1.060000 0.000000 1.060000 ( 1.054761) n = 4 : [ ... ].include?(x) 1.170000 0.000000 1.170000 ( 1.175908) n = 4 : array.include?(x) 0.940000 0.000000 0.940000 ( 0.945533) n = 4 : case x; when y1, y2 ... 1.100000 0.000000 1.100000 ( 1.095268) n = 4 : case x; when *array 1.130000 0.000000 1.130000 ( 1.135810) n = 4 : hash.key?(x) 0.660000 0.000000 0.660000 ( 0.659732) n = 5 : x == y1 || ... 1.160000 0.000000 1.160000 ( 1.162294) n = 5 : [ ... ].include?(x) 1.370000 0.000000 1.370000 ( 1.368007) n = 5 : array.include?(x) 1.190000 0.000000 1.190000 ( 1.191042) n = 5 : case x; when y1, y2 ... 1.480000 0.000000 1.480000 ( 1.478611) n = 5 : case x; when *array 1.500000 0.000000 1.500000 ( 1.494615) n = 5 : hash.key?(x) 0.790000 0.000000 0.790000 ( 0.787843) n = 6 : x == y1 || ... 1.550000 0.000000 1.550000 ( 1.546378) n = 6 : [ ... ].include?(x) 1.620000 0.010000 1.630000 ( 1.631559) n = 6 : array.include?(x) 1.290000 0.000000 1.290000 ( 1.288749) n = 6 : case x; when y1, y2 ... 1.680000 0.000000 1.680000 ( 1.677984) n = 6 : case x; when *array 1.660000 0.000000 1.660000 ( 1.661516) n = 6 : hash.key?(x) 0.800000 0.000000 0.800000 ( 0.795969) n = 7 : x == y1 || ... 1.670000 0.010000 1.680000 ( 1.675376) n = 7 : [ ... ].include?(x) 1.720000 0.000000 1.720000 ( 1.718608) n = 7 : array.include?(x) 1.370000 0.000000 1.370000 ( 1.363855) n = 7 : case x; when y1, y2 ... 1.830000 0.000000 1.830000 ( 1.832523) n = 7 : case x; when *array 1.770000 0.000000 1.770000 ( 1.771373) n = 7 : hash.key?(x) 0.800000 0.000000 0.800000 ( 0.797887) n = 8 : x == y1 || ... 1.860000 0.000000 1.860000 ( 1.862499) n = 8 : [ ... ].include?(x) 1.870000 0.000000 1.870000 ( 1.867669) n = 8 : array.include?(x) 1.460000 0.000000 1.460000 ( 1.457945) n = 8 : case x; when y1, y2 ... 2.270000 0.000000 2.270000 ( 2.273453) n = 8 : case x; when *array 2.420000 0.000000 2.420000 ( 2.418364) n = 8 : hash.key?(x) 0.970000 0.000000 0.970000 ( 0.970404) n = 9 : x == y1 || ... 2.410000 0.000000 2.410000 ( 2.407745) n = 9 : [ ... ].include?(x) 2.380000 0.000000 2.380000 ( 2.377121) n = 9 : array.include?(x) 1.850000 0.000000 1.850000 ( 1.855446) n = 9 : case x; when y1, y2 ... 2.630000 0.010000 2.640000 ( 2.640927) n = 9 : case x; when *array 2.540000 0.000000 2.540000 ( 2.546015) n = 9 : hash.key?(x) 0.960000 0.000000 0.960000 ( 0.967737) n = 10 : x == y1 || ... 2.580000 0.000000 2.580000 ( 2.577329) n = 10 : [ ... ].include?(x) 2.490000 0.000000 2.490000 ( 2.495701) n = 10 : array.include?(x) 1.950000 0.000000 1.950000 ( 1.950089) n = 10 : case x; when y1, y2 ... 2.830000 0.000000 2.830000 ( 2.829846) n = 10 : case x; when *array 2.710000 0.000000 2.710000 ( 2.716055) n = 10 : hash.key?(x) 0.960000 0.000000 0.960000 ( 0.967247) FINISHED! 126.27user 0.04system 2:06.30elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+32outputs (0major+1163minor)pagefaults 0swaps MRI-1.9: ruby 1.9.2dev (2010-05-05 trunk 27618) [x86_64-linux] /usr/bin/time /home/kurt/local/ruby/trunk/bin/ruby problem/array_include_short.rb "MRI-1.9" "measurement/array_include_short-MRI-1.9.rb" warmup: 1......2......3......4......5......6......7......8......9......10...... GO! user system total real n = 1 : x == y1 || ... 0.370000 0.000000 0.370000 ( 0.362730) n = 1 : [ ... ].include?(x) 0.590000 0.000000 0.590000 ( 0.595387) n = 1 : array.include?(x) 0.480000 0.000000 0.480000 ( 0.474566) n = 1 : case x; when y1, y2 ... 0.380000 0.000000 0.380000 ( 0.381776) n = 1 : case x; when *array 0.500000 0.000000 0.500000 ( 0.491762) n = 1 : hash.key?(x) 0.460000 0.000000 0.460000 ( 0.465626) n = 2 : x == y1 || ... 0.450000 0.000000 0.450000 ( 0.453634) n = 2 : [ ... ].include?(x) 0.720000 0.000000 0.720000 ( 0.722476) n = 2 : array.include?(x) 0.620000 0.000000 0.620000 ( 0.611269) n = 2 : case x; when y1, y2 ... 0.390000 0.000000 0.390000 ( 0.390525) n = 2 : case x; when *array 0.570000 0.000000 0.570000 ( 0.573192) n = 2 : hash.key?(x) 0.460000 0.010000 0.470000 ( 0.458808) n = 3 : x == y1 || ... 0.480000 0.000000 0.480000 ( 0.485619) n = 3 : [ ... ].include?(x) 0.830000 0.000000 0.830000 ( 0.831282) n = 3 : array.include?(x) 0.710000 0.000000 0.710000 ( 0.712176) n = 3 : case x; when y1, y2 ... 0.380000 0.000000 0.380000 ( 0.377750) n = 3 : case x; when *array 0.670000 0.000000 0.670000 ( 0.669216) n = 3 : hash.key?(x) 0.470000 0.000000 0.470000 ( 0.469313) n = 4 : x == y1 || ... 0.520000 0.000000 0.520000 ( 0.523439) n = 4 : [ ... ].include?(x) 1.160000 0.010000 1.170000 ( 1.171207) n = 4 : array.include?(x) 0.810000 0.000000 0.810000 ( 0.814114) n = 4 : case x; when y1, y2 ... 0.370000 0.000000 0.370000 ( 0.377561) n = 4 : case x; when *array 0.720000 0.000000 0.720000 ( 0.721220) n = 4 : hash.key?(x) 0.460000 0.000000 0.460000 ( 0.462618) n = 5 : x == y1 || ... 0.570000 0.000000 0.570000 ( 0.564832) n = 5 : [ ... ].include?(x) 1.270000 0.000000 1.270000 ( 1.272446) n = 5 : array.include?(x) 0.920000 0.000000 0.920000 ( 0.914538) n = 5 : case x; when y1, y2 ... 0.390000 0.000000 0.390000 ( 0.387713) n = 5 : case x; when *array 0.790000 0.000000 0.790000 ( 0.789275) n = 5 : hash.key?(x) 0.460000 0.000000 0.460000 ( 0.462331) n = 6 : x == y1 || ... 0.610000 0.000000 0.610000 ( 0.612876) n = 6 : [ ... ].include?(x) 1.390000 0.010000 1.400000 ( 1.398924) n = 6 : array.include?(x) 1.040000 0.000000 1.040000 ( 1.039234) n = 6 : case x; when y1, y2 ... 0.400000 0.000000 0.400000 ( 0.394043) n = 6 : case x; when *array 0.870000 0.010000 0.880000 ( 0.879035) n = 6 : hash.key?(x) 0.480000 0.000000 0.480000 ( 0.480387) n = 7 : x == y1 || ... 0.650000 0.000000 0.650000 ( 0.648385) n = 7 : [ ... ].include?(x) 1.500000 0.000000 1.500000 ( 1.492890) n = 7 : array.include?(x) 1.110000 0.000000 1.110000 ( 1.116281) n = 7 : case x; when y1, y2 ... 0.400000 0.000000 0.400000 ( 0.403893) n = 7 : case x; when *array 0.940000 0.000000 0.940000 ( 0.934875) n = 7 : hash.key?(x) 0.460000 0.000000 0.460000 ( 0.466598) n = 8 : x == y1 || ... 0.700000 0.000000 0.700000 ( 0.699065) n = 8 : [ ... ].include?(x) 1.650000 0.000000 1.650000 ( 1.647361) n = 8 : array.include?(x) 1.260000 0.000000 1.260000 ( 1.263755) n = 8 : case x; when y1, y2 ... 0.410000 0.000000 0.410000 ( 0.402254) n = 8 : case x; when *array 1.020000 0.000000 1.020000 ( 1.025187) n = 8 : hash.key?(x) 0.470000 0.000000 0.470000 ( 0.470864) n = 9 : x == y1 || ... 0.740000 0.000000 0.740000 ( 0.732733) n = 9 : [ ... ].include?(x) 1.710000 0.000000 1.710000 ( 1.710580) n = 9 : array.include?(x) 1.340000 0.000000 1.340000 ( 1.333629) n = 9 : case x; when y1, y2 ... 0.400000 0.000000 0.400000 ( 0.403845) n = 9 : case x; when *array 1.090000 0.000000 1.090000 ( 1.096757) n = 9 : hash.key?(x) 0.480000 0.000000 0.480000 ( 0.475317) n = 10 : x == y1 || ... 0.760000 0.010000 0.770000 ( 0.763322) n = 10 : [ ... ].include?(x) 1.810000 0.000000 1.810000 ( 1.815173) n = 10 : array.include?(x) 1.450000 0.000000 1.450000 ( 1.435094) n = 10 : case x; when y1, y2 ... 0.410000 0.000000 0.410000 ( 0.404915) n = 10 : case x; when *array 1.170000 0.000000 1.170000 ( 1.176693) n = 10 : hash.key?(x) 0.480000 0.000000 0.480000 ( 0.480034) FINISHED! 90.59user 0.15system 1:30.64elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+24outputs (0major+2471minor)pagefaults 0swaps JRuby-1.4: jruby 1.4.1 (ruby 1.8.7 patchlevel 174) (2010-04-26 ea6db6a) (OpenJDK 64-Bit Server VM 1.6.0_0) [amd64-java] /usr/bin/time /home/kurt/local/ruby/jruby-1.4.1/bin/jruby --fast problem/array_include_short.rb "JRuby-1.4" "measurement/array_include_short-JRuby-1.4.rb" warmup: 1......2......3......4......5......6......7......8......9......10...... GO! user system total real n = 1 : x == y1 || ... 0.358000 0.000000 0.358000 ( 0.277000) n = 1 : [ ... ].include?(x) 0.475000 0.000000 0.475000 ( 0.475000) n = 1 : array.include?(x) 0.455000 0.000000 0.455000 ( 0.455000) n = 1 : case x; when y1, y2 ... 0.262000 0.000000 0.262000 ( 0.262000) n = 1 : case x; when *array 0.412000 0.000000 0.412000 ( 0.412000) n = 1 : hash.key?(x) 0.306000 0.000000 0.306000 ( 0.306000) n = 2 : x == y1 || ... 0.321000 0.000000 0.321000 ( 0.321000) n = 2 : [ ... ].include?(x) 0.565000 0.000000 0.565000 ( 0.565000) n = 2 : array.include?(x) 0.506000 0.000000 0.506000 ( 0.505000) n = 2 : case x; when y1, y2 ... 0.286000 0.000000 0.286000 ( 0.286000) n = 2 : case x; when *array 0.599000 0.000000 0.599000 ( 0.599000) n = 2 : hash.key?(x) 0.327000 0.000000 0.327000 ( 0.327000) n = 3 : x == y1 || ... 0.349000 0.000000 0.349000 ( 0.349000) n = 3 : [ ... ].include?(x) 0.648000 0.000000 0.648000 ( 0.648000) n = 3 : array.include?(x) 0.608000 0.000000 0.608000 ( 0.608000) n = 3 : case x; when y1, y2 ... 0.302000 0.000000 0.302000 ( 0.301000) n = 3 : case x; when *array 0.613000 0.000000 0.613000 ( 0.613000) n = 3 : hash.key?(x) 0.304000 0.000000 0.304000 ( 0.304000) n = 4 : x == y1 || ... 0.384000 0.000000 0.384000 ( 0.384000) n = 4 : [ ... ].include?(x) 0.707000 0.000000 0.707000 ( 0.707000) n = 4 : array.include?(x) 0.661000 0.000000 0.661000 ( 0.661000) n = 4 : case x; when y1, y2 ... 0.304000 0.000000 0.304000 ( 0.305000) n = 4 : case x; when *array 0.688000 0.000000 0.688000 ( 0.687000) n = 4 : hash.key?(x) 0.305000 0.000000 0.305000 ( 0.305000) n = 5 : x == y1 || ... 0.417000 0.000000 0.417000 ( 0.417000) n = 5 : [ ... ].include?(x) 0.907000 0.000000 0.907000 ( 0.907000) n = 5 : array.include?(x) 0.721000 0.000000 0.721000 ( 0.721000) n = 5 : case x; when y1, y2 ... 0.308000 0.000000 0.308000 ( 0.309000) n = 5 : case x; when *array 0.731000 0.000000 0.731000 ( 0.732000) n = 5 : hash.key?(x) 0.294000 0.000000 0.294000 ( 0.295000) n = 6 : x == y1 || ... 0.447000 0.000000 0.447000 ( 0.447000) n = 6 : [ ... ].include?(x) 0.880000 0.000000 0.880000 ( 0.880000) n = 6 : array.include?(x) 0.797000 0.000000 0.797000 ( 0.798000) n = 6 : case x; when y1, y2 ... 0.293000 0.000000 0.293000 ( 0.292000) n = 6 : case x; when *array 0.836000 0.000000 0.836000 ( 0.836000) n = 6 : hash.key?(x) 0.330000 0.000000 0.330000 ( 0.330000) n = 7 : x == y1 || ... 0.536000 0.000000 0.536000 ( 0.535000) n = 7 : [ ... ].include?(x) 0.941000 0.000000 0.941000 ( 0.942000) n = 7 : array.include?(x) 0.871000 0.000000 0.871000 ( 0.871000) n = 7 : case x; when y1, y2 ... 0.302000 0.000000 0.302000 ( 0.302000) n = 7 : case x; when *array 0.890000 0.000000 0.890000 ( 0.890000) n = 7 : hash.key?(x) 0.347000 0.000000 0.347000 ( 0.347000) n = 8 : x == y1 || ... 0.517000 0.000000 0.517000 ( 0.517000) n = 8 : [ ... ].include?(x) 1.032000 0.000000 1.032000 ( 1.032000) n = 8 : array.include?(x) 0.951000 0.000000 0.951000 ( 0.951000) n = 8 : case x; when y1, y2 ... 0.386000 0.000000 0.386000 ( 0.386000) n = 8 : case x; when *array 1.033000 0.000000 1.033000 ( 1.034000) n = 8 : hash.key?(x) 0.318000 0.000000 0.318000 ( 0.318000) n = 9 : x == y1 || ... 0.562000 0.000000 0.562000 ( 0.563000) n = 9 : [ ... ].include?(x) 1.203000 0.000000 1.203000 ( 1.203000) n = 9 : array.include?(x) 1.003000 0.000000 1.003000 ( 1.003000) n = 9 : case x; when y1, y2 ... 0.303000 0.000000 0.303000 ( 0.303000) n = 9 : case x; when *array 1.074000 0.000000 1.074000 ( 1.074000) n = 9 : hash.key?(x) 0.323000 0.000000 0.323000 ( 0.323000) n = 10 : x == y1 || ... 0.600000 0.000000 0.600000 ( 0.600000) n = 10 : [ ... ].include?(x) 1.202000 0.000000 1.202000 ( 1.202000) n = 10 : array.include?(x) 1.046000 0.000000 1.046000 ( 1.046000) n = 10 : case x; when y1, y2 ... 0.314000 0.000000 0.314000 ( 0.314000) n = 10 : case x; when *array 1.129000 0.000000 1.129000 ( 1.129000) n = 10 : hash.key?(x) 0.324000 0.000000 0.324000 ( 0.323000) FINISHED! 91.00user 0.51system 1:13.11elapsed 125%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+168outputs (1major+89365minor)pagefaults 0swaps Rubinius: rubinius 1.0.0-rc4 (1.8.7 9098d4d7 2010-03-31 JI) [x86_64-unknown-linux-gnu] /usr/bin/time /home/kurt/local/rubinius/master/bin/rbx problem/array_include_short.rb "Rubinius" "measurement/array_include_short-Rubinius.rb" warmup: 1......2......3......4......5......6......7......8......9......10...... GO! user system total real n = 1 : x == y1 || ... 0.124464 0.000000 0.124464 ( 0.124446) n = 1 : [ ... ].include?(x) 0.523392 0.000000 0.523392 ( 0.523418) n = 1 : array.include?(x) 0.408782 0.000000 0.408782 ( 0.408798) n = 1 : case x; when y1, y2 ... 0.162901 0.000000 0.162901 ( 0.162907) n = 1 : case x; when *array 0.421922 0.000000 0.421922 ( 0.421944) n = 1 : hash.key?(x) 0.421090 0.000000 0.421090 ( 0.421103) n = 2 : x == y1 || ... 0.138807 0.000000 0.138807 ( 0.138831) n = 2 : [ ... ].include?(x) 0.583480 0.000000 0.583480 ( 0.583504) n = 2 : array.include?(x) 0.448769 0.000000 0.448769 ( 0.448790) n = 2 : case x; when y1, y2 ... 0.205138 0.000000 0.205138 ( 0.205158) n = 2 : case x; when *array 0.448483 0.000000 0.448483 ( 0.448510) n = 2 : hash.key?(x) 0.423856 0.000000 0.423856 ( 0.423894) n = 3 : x == y1 || ... 0.146488 0.000000 0.146488 ( 0.146484) n = 3 : [ ... ].include?(x) 0.641676 0.000000 0.641676 ( 0.641695) n = 3 : array.include?(x) 0.505218 0.000000 0.505218 ( 0.505234) n = 3 : case x; when y1, y2 ... 0.237347 0.000000 0.237347 ( 0.237358) n = 3 : case x; when *array 0.435867 0.000000 0.435867 ( 0.435887) n = 3 : hash.key?(x) 0.362218 0.000000 0.362218 ( 0.362239) n = 4 : x == y1 || ... 0.131721 0.000000 0.131721 ( 0.131734) n = 4 : [ ... ].include?(x) 0.598305 0.000000 0.598305 ( 0.598324) n = 4 : array.include?(x) 0.445537 0.000000 0.445537 ( 0.445557) n = 4 : case x; when y1, y2 ... 0.208356 0.000000 0.208356 ( 0.208372) n = 4 : case x; when *array 0.443924 0.000000 0.443924 ( 0.443941) n = 4 : hash.key?(x) 0.355791 0.000000 0.355791 ( 0.355812) n = 5 : x == y1 || ... 0.146607 0.000000 0.146607 ( 0.146623) n = 5 : [ ... ].include?(x) 0.646410 0.000000 0.646410 ( 0.646433) n = 5 : array.include?(x) 1.548012 0.000000 1.548012 ( 1.548017) n = 5 : case x; when y1, y2 ... 0.133801 0.000000 0.133801 ( 0.133787) n = 5 : case x; when *array 0.304769 0.000000 0.304769 ( 0.304783) n = 5 : hash.key?(x) 0.228483 0.000000 0.228483 ( 0.228469) n = 6 : x == y1 || ... 0.087699 0.000000 0.087699 ( 0.087689) n = 6 : [ ... ].include?(x) 0.435739 0.000000 0.435739 ( 0.435747) n = 6 : array.include?(x) 0.326641 0.000000 0.326641 ( 0.326652) n = 6 : case x; when y1, y2 ... 0.155369 0.000000 0.155369 ( 0.155362) n = 6 : case x; when *array 0.323226 0.000000 0.323226 ( 0.323235) n = 6 : hash.key?(x) 0.235485 0.000000 0.235485 ( 0.235484) n = 7 : x == y1 || ... 0.092762 0.000000 0.092762 ( 0.092757) n = 7 : [ ... ].include?(x) 0.455860 0.000000 0.455860 ( 0.455880) n = 7 : array.include?(x) 0.334077 0.000000 0.334077 ( 0.334087) n = 7 : case x; when y1, y2 ... 0.157877 0.000000 0.157877 ( 0.157872) n = 7 : case x; when *array 0.343472 0.000000 0.343472 ( 0.343492) n = 7 : hash.key?(x) 0.249861 0.000000 0.249861 ( 0.249877) n = 8 : x == y1 || ... 0.097010 0.000000 0.097010 ( 0.096996) n = 8 : [ ... ].include?(x) 0.502878 0.000000 0.502878 ( 0.502889) n = 8 : array.include?(x) 0.348969 0.000000 0.348969 ( 0.348980) n = 8 : case x; when y1, y2 ... 0.297060 0.000000 0.297060 ( 0.297073) n = 8 : case x; when *array 0.547640 0.000000 0.547640 ( 0.547661) n = 8 : hash.key?(x) 0.420381 0.000000 0.420381 ( 0.420401) n = 9 : x == y1 || ... 0.156522 0.000000 0.156522 ( 0.156542) n = 9 : [ ... ].include?(x) 0.854254 0.000000 0.854254 ( 0.854274) n = 9 : array.include?(x) 0.575401 0.000000 0.575401 ( 0.575420) n = 9 : case x; when y1, y2 ... 0.303803 0.000000 0.303803 ( 0.303811) n = 9 : case x; when *array 0.566941 0.000000 0.566941 ( 0.566961) n = 9 : hash.key?(x) 0.439067 0.000000 0.439067 ( 0.439085) n = 10 : x == y1 || ... 0.167940 0.000000 0.167940 ( 0.167962) n = 10 : [ ... ].include?(x) 0.913050 0.000000 0.913050 ( 0.913070) n = 10 : array.include?(x) 0.610617 0.000000 0.610617 ( 0.610634) n = 10 : case x; when y1, y2 ... 0.329213 0.000000 0.329213 ( 0.329230) n = 10 : case x; when *array 0.603630 0.000000 0.603630 ( 0.603649) n = 10 : hash.key?(x) 0.444667 0.000000 0.444667 ( 0.444685) FINISHED! 67.39user 0.19system 1:01.24elapsed 110%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+376outputs (0major+23245minor)pagefaults 0swaps