BENCHMARK SUITE

Back
Test User System Total Real Iterations
STRING
each_byte 9.96 0.00 9.96 11.08 default
split 18.81 0.06 18.87 19.46 default
unpack 6.27 0.10 6.28 6.55 default
LOOP
each (w/o block var) 5.23 0.00 5.23 5.67 default
each (w/ block var) 6.45 0.01 6.46 6.67 default
for 5.08 0.00 5.08 5.58 default
loop 8.87 0.01 8.88 9.29 default
step (w/o block var) 4.78 0.00 4.78 5.19 default
step (w/ block var) 6.05 0.00 6.05 6.31 default
times (w/o block var) 4.78 0.00 4.78 5.33 default
times (w/ block var) 6.04 0.00 6.04 6.43 default
upto (w/o block var) 4.80 0.00 4.80 4.98 default
upto (w/ block var) 6.08 0.00 6.08 6.32 default
while 6.07 0.00 6.07 7.44 default
IO
print 14.43 12.21 26.64 28.35 default
syswrite 11.15 11.93 25.82 27.50 default
write 13.89 11.93 25.82 27.50 default
IO.foreach 1.63 0.43 2.06 2.25 default
File::each 1.44 0.35 1.79 2.50 default
File::gets 1.64 0.43 2.07 2.76 default
File::read 2.96 0.33 3.29 4.43 default
File::readline 1.66 0.51 2.17 3.17 default
File::sysread 1.73 0.75 2.48 2.83 default