BENCHMARK SUITE

Back
Test User System Total Real Iterations
STRING
each_byte 9.13 0.00 9.13 9.14 default
split 16.64 0.00 16.64 16.64 default
unpack 5.9 0.00 5.9 5.9 default
LOOP
each (w/o block var) 2.88 0.00 2.88 2.88 default
each (w/ block var) 3.66 0.00 3.66 3.66 default
for 2.81 0.00 2.81 2.81 default
loop 5.44 0.00 5.44 5.44 default
step (w/o block var) 2.81 0.00 2.81 2.81 default
step (w/ block var) 3.55 0.00 3.55 3.55 default
times (w/o block var) 2.80 0.00 2.80 2.80 default
times (w/ block var) 3.56 0.00 3.56 3.56 default
upto (w/o block var) 2.83 0.00 2.83 2.83 default
upto (w/ block var) 3.59 0.00 3.59 3.59 default
while 3.45 0.00 3.45 3.45 default
IO
print 23.13 57.31 80.44 80.44 default
syswrite 21.77 56.13 77.90 77.92 default
write 23.63 56.83 80.45 80.47 default
IO.foreach 2.47 0.30 2.77 2.78 default
File::each 2.55 0.27 2.81 2.83 default
File::gets 2.27 0.23 2.50 2.52 default
File::read 2.16 0.22 2.37 2.39 default
File::readline 2.38 0.24 2.61 2.61 default
File::sysread 2.94 1.05 3.99 4.02 default