BENCHMARK SUITE

Back
Test User System Total Real Iterations
STRING
each_byte 7.97 0.00 7.97 7.97 default
split 13.31 0.00 13.31 13.31 default
unpack 4.97 0.00 4.97 4.97 default
LOOP
each (w/o block var) 2.89 0.00 2.89 2.89 default
each (w/ block var) 3.69 0.00 3.69 3.69 default
for 3.03 0.00 3.03 3.03 default
loop 5.05 0.00 5.05 5.05 default
step (w/o block var) 2.69 0.00 2.69 2.69 default
step (w/ block var) 3.41 0.00 3.41 3.41 default
times (w/o block var) 2.72 0.00 2.72 2.72 default
times (w/ block var) 3.70 0.00 3.70 3.70 default
upto (w/o block var) 2.67 0.00 2.67 2.67 default
upto (w/ block var) 3.39 0.00 3.39 3.39 default
while 3.52 0.00 3.52 3.52 default
IO
print 20.92 58.16 79.01 79.01 default
syswrite 19.89 56.83 76.72 76.72 default
write 21.05 57.64 78.69 78.86 default
IO.foreach 29.52 44.80 74.31 74.41 default
File::each 28.22 45.75 73.97 74.02 default
File::gets 29.98 43.28 73.27 73.34 default
File::read 2.16 0.22 2.37 2.39 default
File::readline 28.89 45.48 74.38 74.45 default
File::sysread 3.53 2.69 6.22 6.27 default