BENCHMARK SUITE

Comparison of 1.6.8 vs 1.8.0 on a dual P2 400, Win2k Pro

Back
  1.6.8
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 26.58 45.22 71.80 71.83 default
File::readline 28.89 45.48 74.38 74.45 default
File::sysread 3.53 2.69 6.22 6.27 default
1.8.0
User System Total Real Iterations
STRING
9.13 0.00 9.13 9.14 default
16.64 0.00 16.64 16.64 default
5.9 0.00 5.9 5.9 default
LOOP
2.88 0.00 2.88 2.88 default
3.66 0.00 3.66 3.66 default
2.81 0.00 2.81 2.81 default
5.44 0.00 5.44 5.44 default
2.81 0.00 2.81 2.81 default
3.55 0.00 3.55 3.55 default
2.80 0.00 2.80 2.80 default
3.56 0.00 3.56 3.56 default
2.83 0.00 2.83 2.83 default
3.59 0.00 3.59 3.59 default
3.45 0.00 3.45 3.45 default
IO
23.13 57.31 80.44 80.44 default
21.77 56.13 77.90 77.92 default
23.63 56.83 80.45 80.47 default
2.47 0.30 2.77 2.78 default
2.55 0.27 2.81 2.83 default
2.27 0.23 2.50 2.52 default
2.16 0.22 2.37 2.39 default
2.38 0.24 2.61 2.61 default
2.94 1.05 3.99 4.02 default