BENCHMARK SUITE

Comparison of 1.6.8 and 1.8.0

FreeBSD release p7
Athlon 1800 (1.5 GHZ)
768 MB RAM

Back
  1.6.8
Test User System Total Real Iterations
STRING
each_byte 1.28 0.00 0.01 1.29 default
split 2.25 0.00 2.25 2.47 default
unpack 0.71 0.00 0.71 0.80 default
LOOP
each (w/o block var) 0.63 0.00 0.63 0.73 default
each (w/ block var) 0.78 0.00 0.78 0.86 default
for 0.66 0.02 0.67 0.79 default
loop 1.22 0.00 1.22 1.31 default
step (w/o block var) 0.63 0.00 0.63 0.71 default
step (w/ block var) 0.76 0.00 0.76 0.85 default
times (w/o block var) 0.63 0.00 0.63 0.70 default
times (w/ block var) 0.77 0.00 0.77 0.85 default
upto (w/o block var) 0.63 0.00 0.63 0.73 default
upto (w/ block var) 0.75 0.00 0.75 0.81 default
while 0.78 0.01 0.79 0.87 default
IO
print 1.61 1.96 3.57 4.04 default
syswrite 1.28 2.16 3.44 3.85 default
write 1.59 2.00 3.59 4.06 default
IO.foreach 0.38 0.02 0.40 0.44 default
File::each 0.38 0.02 0.40 0.48 default
File::gets 0.37 0.39 0.41 0.49 default
File::read 0.39 0.03 0.42 0.54 default
File::readline 0.38 0.16 0.40 0.46 default
File::sysread 0.35 0.28 0.63 0.68 default
1.8.0 (2003-04-18)
User System Total Real Iterations
STRING
1.35 0.02 1.37 1.54 default
2.80 0.00 2.81 3.15 default
0.80 0.01 0.80 0.90 default
LOOP
0.63 0.00 0.63 0.70 default
0.77 0.00 0.77 0.85 default
0.66 0.00 0.66 0.74 default
1.10 0.00 1.10 1.26 default
0.63 0.00 0.63 0.67 default
0.77 0.00 0.77 0.84 default
0.61 0.00 0.61 0.72 default
0.76 0.00 0.76 0.78 default
0.61 0.00 0.61 0.69 default
0.76 0.00 0.76 0.85 default
0.77 0.00 0.77 0.86 default
IO
2.03 2.04 4.07 4.92 default
1.77 2.16 3.93 4.40 default
1.92 2.11 4.03 4.52 default
0.23 0.06 0.30 0.37 default
0.26 0.04 0.30 0.40 default
0.29 0.03 0.32 0.43 default
0.25 0.04 0.30 0.35 default
0.30 0.02 0.31 0.35 default
0.38 0.39 0.30 0.40 default