Gambit-C vs. Bigloo vs. MzScheme

The following tables contain the execution time of the Gambit benchmarks on various implementations of Scheme in different situations. For a given benchmark and situation, the entry in green indicates which Scheme system has the fastest execution and the number given is the CPU time in milliseconds. Other entries give the execution time relative to the green entry. Blank entries indicate that this benchmark was not executed (possibly because the system did not accept to compile the program).

The benchmarks were run in three different situations. This was done by using compiler options and/or declarations.

  1. Safe with generic arithmetic
  2. Safe with fixnum/flonum specializations
  3. Unsafe with fixnum/flonum specializations

Safe with generic arithmetic

   

Safe with fixnum/flonum specializations

   

Unsafe with fixnum/flonum specializations

Program        Bigloo 2.8b Gambit-C 4.0b18 MzScheme v352
    boyer         650        1.56       3.48   
    browse        2.80        1040        4.96   
    cpstak        5.73        1783        8.08   
    ctak        61.28        1737        73.50   
    dderiv        2.98        1662        10.11   
    deriv        4.30        1090        18.68   
    destruc        1.18        1512        3.09   
    diviter        3.78        1170        15.36   
    divrec        3.15        1600        13.84   
    puzzle        2.41        1914        3.82   
    takl         790        1.53       2.97   
    triangl        1.18        2376        2.26   
    fft        3.29        1257        3.46   
    fib        2.21        2453        1.18   
    fibfp        4.25        1705        9.31   
    mbrot        4.76        1864        10.72   
    nucleic        2.50        1030        5.11   
    pnpoly        8.22        1514        3.89   
    sum        4.67       1.41        750    
    sumfp        5.30        1341        11.69   
    tak        2.16        1526        1.52   
    ack        3.31        133        1.53   
    array1        1.62        891        1.59   
    cat         220        6.59       3.88   
    string         30        9.57       8.60   
    sum1         80        2.79       2.80   
    sumloop        2.28        1034        2.86   
    tail         640        1.90       2.11   
    wc         210        3.74       4.26   
    conform         810        1.48       6.87   
    dynamic         520        1.98       2.12   
    earley        1.64        1112        4.73   
    fibc        30.79        1468        68.35   
    graphs        2.05        1375        9.66   
    lattice        1.49        2769        3.35   
    matrix        1.34        1760        4.16   
    maze         1410        1.13       3.22   
    mazefun        1.99        1365        3.11   
    nqueens        1.61        1836        2.81   
    paraffins        2.76        1749        6.27   
    peval         900        1.22       4.84   
    pi        1.17        2285    
    primes        1.94        1569        7.42   
    ray        3.09        1267        5.76   
    scheme         1470        1.25       3.22   
    simplex        1.97        1302        4.21   
    slatex         960        1.62       1.54   
 
Program        Bigloo 2.8b Gambit-C 4.0b18
    boyer         640        1.60   
    browse        2.79        1038    
    cpstak        5.34        1629    
    ctak        63.11        1680    
    dderiv        3.00        1648    
    deriv        3.67        1277    
    destruc         1350        1.07   
    diviter        2.93        1520    
    divrec        2.25        2241    
    puzzle        1.92        1790    
    takl         790        1.83   
    triangl         1490        1.58   
    fft        1.08        1219    
    fib         930        2.30   
    fibfp        1.36        2018    
    mbrot         240        8.24   
    nucleic         850        1.01   
    pnpoly        4.10        1409    
    sum         100        8.23   
    sumfp         150        9.02   
    tak         1100        1.22   
    ack        1.29        93    
    array1        1.28        866    
    cat         220        6.69   
    string         30        9.63   
    sum1         80        2.09   
    sumloop         210        4.25   
    tail         660        1.87   
    wc         170        4.46   
    conform         800        1.52   
    dynamic         510        2.03   
    earley        1.35        1040    
    fibc        32.08        1396    
    graphs        1.89        1314    
    lattice        1.45        2855    
    matrix        1.20        1714    
    maze        1.07        975    
    mazefun        1.17        1257    
    nqueens         1550        1.11   
    paraffins        2.74        1788    
    peval         900        1.20   
    pi         2526    
    primes        1.96        1501    
    ray        1.05        1066    
    scheme         1490        1.28   
    simplex        1.02        1155    
    slatex         980        1.54   
 
Program        Bigloo 2.8b Gambit-C 4.0b18
    boyer         480        1.42   
    browse        2.70        943    
    cpstak        6.08        1420    
    ctak        49.81        1696    
    dderiv        3.14        1455    
    deriv        3.79        1165    
    destruc         1210        1.05   
    diviter        3.81        1070    
    divrec        2.66        1613    
    puzzle        3.54        670    
    takl         450        2.02   
    triangl         960        1.26   
    fft        3.24        318    
    fib         710        1.44   
    fibfp        2.36        1122    
    mbrot         230        4.63   
    nucleic        1.95        236    
    pnpoly         190        1.51   
    sum         100        3.40   
    sumfp         100        11.90   
    tak         740        1.52   
    ack        1.53        59    
    array1        1.30        431    
    cat         210        7.12   
    string         20        14.60   
    sum1         70        2.50   
    sumloop         100        4.04   
    tail         570        2.16   
    wc         130        5.62   
    conform         640        1.53   
    dynamic         510        1.84   
    earley        1.49        772    
    fibc        28.99        1382    
    graphs        1.78        1049    
    lattice        1.66        2229    
    matrix        1.07        1619    
    maze        1.48        534    
    mazefun        1.26        997    
    nqueens        1.15        1164    
    paraffins        2.42        1922    
    peval         790        1.11   
    pi         2594    
    primes        2.15        1072    
    ray         120        3.30   
    scheme         1070        1.32   
    simplex         360        1.27   
    slatex         920        1.60