BENCHMARK SUITE

Back
Test User System Total Real Iterations
STRING
each_byte 4.65 0.00 4.65 7.52 default
split 4.74 0.00 4.74 7.23 default
unpack 1.37 0.00 1.37 2.01 default
LOOP
each (w/o block var) 2.12 0.00 2.12 3.43 default
each (w/ block var) 2.54 0.00 2.54 4.46 default
for 2.49 0.00 2.49 3.52 default
loop 3.71 0.00 3.71 5.23 default
step (w/o block var) 2.22 0.00 2.22 3.43 default
step (w/ block var) 2.83 0.00 2.83 4.11 default
times (w/o block var) 2.22 0.00 2.22 3.72 default
times (w/ block var) 2.75 0.00 2.75 4.12 default
upto (w/o block var) 2.29 0.00 2.29 3.62 default
upto (w/ block var) 2.69 0.00 2.69 4.71 default
while 2.65 0.00 2.65 3.75 default
IO
print 19.22 0.00 19.22 40.76 default
syswrite 18.91 0.00 18.91 42.28 default
write 19.82 0.00 19.82 48.27 default
IO.foreach 0.66 0.00 0.66 1.23 default
File::each 0.89 0.00 0.89 3.67 default
File::gets 0.66 0.00 0.66 1.17 default
File::read 0.67 0.00 0.67 0.99 default
File::readline 0.80 0.00 0.80 2.29 default
File::sysread 1.59 0.00 1.59 2.78 default