Compile times and run times for benchmarks run with gcc-3.4.3 and gcc-4.0.0-20050101 on a 2GHz Power Macintosh G5 running darwin-7.6.0; each compiler was built without checking. The tests are from the Scheme->C compiler Gambit-C 4.0beta11.

Each column contains first the user compile time and then the user run time, both in seconds. The minimum run times in each row have a green background; the minimum compile times have a blue background. All run times that are more than 110% the minimum run times have a red background; compile times that are more than 150% the minimum compile times have a yellow background.

Common compile options were
-O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit-frame-pointer
The compilers used and the extra options are noted at the head of each column.

Please ignore the first three tests (succeed, fail, and crash).

Benchmark name 3.4.3 3.4.3 -mcpu=G4 3.4.3 -mcpu=G4 -mtune=G5 3.4.3 -mcpu=G5 4.0.0 4.0.0 -mcpu=G4 4.0.0 -mcpu=G4 -mtune=G5 4.0.0 -mcpu=G5
succeed 0.37 0.01 0.37 0.01 0.29 0.02 0.34 0.01 0.31 0.02 0.36 0.00 0.39 0.00 0.32 0.01
fail 0.34 0.00 0.34 0.00 0.29 0.03 0.34 0.01 0.34 0.00 0.28 0.00 0.30 0.00 0.35 0.00
crash 0.33 0.01 0.33 0.01 0.36 0.00 0.37 0.01 0.35 0.01 0.32 0.00 0.35 0.02 0.37 0.02
boyer 0.99 0.34 0.99 0.34 0.96 0.32 1.00 0.35 1.18 0.34 1.13 0.33 1.24 0.32 1.19 0.33
browse 0.64 1.50 0.64 1.50 0.67 1.34 0.73 1.44 1.00 1.51 0.98 1.46 1.02 1.61 1.01 1.50
cpstak 0.39 0.48 0.39 0.48 0.36 0.47 0.41 0.56 0.47 0.47 0.53 0.48 0.50 0.48 0.49 0.47
ctak 0.42 0.52 0.42 0.52 0.43 0.53 0.43 0.54 0.55 0.52 0.56 0.55 0.53 0.61 0.53 0.59
dderiv 0.44 2.27 0.44 2.27 0.48 2.00 0.50 2.08 0.60 2.34 0.51 2.25 0.60 2.14 0.57 2.09
deriv 0.45 1.98 0.45 1.98 0.38 1.82 0.41 1.95 0.51 2.23 0.44 2.17 0.46 1.91 0.40 1.94
destruc 0.41 0.70 0.41 0.70 0.52 0.78 0.43 0.65 0.57 0.77 0.47 0.77 0.45 0.70 0.49 0.79
diviter 0.35 0.56 0.35 0.56 0.40 0.53 0.37 0.53 0.37 0.59 0.40 0.53 0.45 0.55 0.40 0.53
divrec 0.37 0.85 0.37 0.85 0.34 0.79 0.40 0.84 0.45 0.87 0.45 0.85 0.45 0.88 0.45 0.80
fft 0.42 1.05 0.42 1.05 0.39 1.14 0.39 1.73 0.46 1.13 0.46 1.20 0.46 1.14 0.39 1.13
puzzle 0.54 0.70 0.54 0.70 0.52 0.73 0.53 0.69 0.71 0.63 0.68 0.73 0.66 0.69 0.68 0.69
tak 0.32 0.72 0.32 0.72 0.40 0.69 0.38 0.71 0.43 0.74 0.45 0.69 0.40 0.71 0.42 0.72
takl 0.40 0.64 0.40 0.64 0.43 0.63 0.45 0.62 0.45 0.65 0.46 0.69 0.48 0.65 0.42 0.64
trav1 0.58 0.41 0.58 0.41 0.64 0.35 0.64 0.37 0.79 0.40 0.75 0.37 0.77 0.37 0.72 0.41
trav2 0.63 1.94 0.63 1.94 0.61 1.88 0.68 1.84 0.85 1.82 0.77 1.98 0.80 2.00 0.78 1.96
triangl 0.41 1.38 0.41 1.38 0.43 1.42 0.43 1.40 0.45 1.37 0.46 1.41 0.44 1.40 0.46 1.36
ack 0.28 0.59 0.28 0.59 0.30 0.62 0.34 0.57 0.42 0.75 0.36 0.63 0.37 0.74 0.40 0.71
array1 0.35 2.87 0.35 2.87 0.32 2.85 0.41 2.61 0.43 3.13 0.42 2.84 0.37 2.91 0.39 3.02
cat 0.37 2.17 0.37 2.17 0.40 2.11 0.39 1.90 0.38 1.93 0.43 1.97 0.41 1.96 0.38 1.95
string 0.40 1.96 0.40 1.96 0.41 2.08 0.37 2.06 0.43 2.26 0.38 2.27 0.40 2.43 0.40 2.31
sum1 0.38 1.98 0.38 1.98 0.43 2.07 0.36 1.92 0.41 1.83 0.41 1.80 0.40 1.90 0.41 1.97
sumloop 0.37 0.39 0.37 0.39 0.38 0.39 0.31 0.66 0.38 0.36 0.40 0.36 0.37 0.35 0.32 0.34
tail 0.38 0.34 0.38 0.34 0.38 0.34 0.41 0.38 0.42 0.31 0.38 0.30 0.39 0.29 0.50 0.28
wc 0.34 0.97 0.34 0.97 0.35 1.03 0.38 0.94 0.44 0.99 0.39 1.02 0.36 1.09 0.35 1.06
conform 1.60 0.95 1.60 0.95 1.65 0.94 1.79 1.03 2.77 1.03 2.63 0.98 2.72 0.94 2.75 1.03
earley 1.21 0.78 1.21 0.78 1.13 0.78 1.32 0.86 2.05 0.79 2.07 0.70 2.04 0.75 2.01 0.72
fib 0.34 1.37 0.34 1.37 0.32 1.04 0.37 1.81 0.36 1.46 0.37 1.91 0.41 1.96 0.36 1.93
fibfp 0.38 0.37 0.38 0.37 0.37 0.37 0.36 0.40 0.42 0.33 0.44 0.35 0.40 0.34 0.40 0.32
maze 1.21 0.41 1.21 0.41 1.24 0.37 1.31 0.39 1.89 0.40 1.95 0.39 2.00 0.38 1.98 0.40
mazefun 0.84 1.14 0.84 1.14 0.80 1.12 0.96 1.19 1.25 1.23 1.37 1.15 1.31 1.20 1.25 1.21
mbrot 0.38 0.36 0.38 0.36 0.47 0.39 0.41 0.38 0.43 0.40 0.47 0.41 0.46 0.50 0.48 0.49
nucleic 2.95 0.36 2.95 0.36 3.17 0.35 3.35 0.34 4.81 0.37 4.67 0.33 4.80 0.36 4.71 0.35
paraffins 0.66 2.12 0.66 2.12 0.63 2.09 0.69 2.05 1.01 2.12 0.93 2.05 1.00 2.16 0.99 2.09
peval 1.83 1.38 1.83 1.38 1.89 1.31 1.92 1.28 3.09 1.42 2.99 1.26 2.94 1.36 3.14 1.41
pi 0.91 1.24 0.91 1.24 0.90 1.29 0.97 1.23 1.21 1.36 1.22 1.35 1.23 1.38 1.18 1.33
pnpoly 0.43 0.37 0.43 0.37 0.42 0.37 0.41 0.39 0.49 0.38 0.47 0.41 0.48 0.39 0.46 0.42
ray 0.72 0.48 0.72 0.48 0.65 0.57 0.67 0.60 0.97 0.56 0.85 0.53 0.95 0.57 0.89 0.52
scheme 3.61 0.48 3.61 0.48 3.73 0.41 3.96 0.40 7.90 0.42 7.93 0.39 8.04 0.42 7.94 0.41
simplex 0.64 0.29 0.64 0.29 0.68 0.28 0.73 0.40 1.01 0.28 1.00 0.28 0.95 0.29 1.01 0.29
slatex 5.38 0.72 5.38 0.72 5.47 0.86 5.67 0.87 10.04 0.74 10.27 0.78 10.36 0.74 10.29 0.79
sum 0.29 1.66 0.29 1.66 0.37 1.70 0.37 1.39 0.34 1.76 0.36 1.44 0.33 1.45 0.36 1.43
sumfp 0.36 3.72 0.36 3.72 0.35 3.40 0.37 3.97 0.36 4.49 0.32 4.46 0.36 4.30 0.43 4.33
tfib 0.37 0.95 0.37 0.95 0.35 0.87 0.41 0.85 0.46 0.86 0.45 0.85 0.36 0.89 0.42 0.92