Compile times and run times for benchmarks run with gcc-3.4.3 and gcc-4.0.0 20041112, on a 2GHz PowerPC G4 Mac with Gambit-C 4.0 beta 11.
Times are in seconds. Compile options were
gcc -I../../../include -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit-frame-pointer -D___SINGLE_HOST -o $1 $1.c $1_.c ../../../lib/libgambc.a -lm -ldl -lncurses
| Benchmark name | gcc-3.4.3 (disable-checking) | gcc-4.0.0 (disable-checking) | ||
| cpstak | 0.61 | 0.52 | 0.66 | 0.49 |
| ctak | 0.62 | 0.57 | 0.71 | 0.57 |
| deriv | 0.63 | 1.93 | 0.74 | 2.13 |
| diviter | 0.62 | 0.49 | 0.65 | 0.59 |
| fft | 0.57 | 1.13 | 0.69 | 1.16 |
| trav1 | 0.90 | 0.39 | 1.13 | 0.42 |
| trav2 | 0.83 | 1.96 | 1.15 | 2.02 |
| ack | 0.42 | 0.73 | 0.61 | 0.72 |
| array1 | 0.61 | 2.78 | 0.63 | 3.12 |
| cat | 0.54 | 2.19 | 0.65 | 2.45 |
| string | 0.57 | 1.98 | 0.69 | 1.97 |
| sum1 | 0.61 | 2.26 | 0.66 | 2.12 |
| sumloop | 0.52 | 0.38 | 0.61 | 0.38 |
| tail | 0.62 | 0.34 | 0.66 | 0.25 |
| mbrot | 0.59 | 0.40 | 0.67 | 0.39 |
| pi | 1.22 | 1.32 | 1.63 | 1.32 |
| sum | 0.51 | 1.48 | 0.63 | 1.47 |
| sumfp | 0.54 | 3.67 | 0.57 | 4.43 |
| tfib | 0.51 | 0.94 | 0.56 | 0.93 |