2007-11-04 17:00:11 -05:00
|
|
|
#!/usr/bin/env ikarus --r6rs-script
|
|
|
|
|
|
|
|
(import (ikarus))
|
|
|
|
|
|
|
|
(define all-benchmarks
|
2007-11-11 02:10:02 -05:00
|
|
|
'(ack array1 bibfreq boyer browse cat compiler conform cpstak ctak dderiv
|
2007-11-04 17:00:11 -05:00
|
|
|
deriv destruc diviter divrec dynamic earley fft fib fibc fibfp
|
2007-11-06 01:14:27 -05:00
|
|
|
fpsum gcbench gcold graphs lattice matrix maze mazefun mbrot
|
2007-11-04 17:00:11 -05:00
|
|
|
nbody nboyer nqueens ntakl nucleic paraffins parsing perm9 peval
|
|
|
|
pi pnpoly primes puzzle quicksort ray sboyer scheme simplex
|
|
|
|
slatex string sum sum1 sumfp sumloop tail tak takl trav1 trav2
|
|
|
|
triangl wc))
|
|
|
|
|
|
|
|
|
|
|
|
(for-each
|
|
|
|
(lambda (x)
|
2007-11-05 22:49:38 -05:00
|
|
|
(fprintf (standard-error-port) "running ~s\n" x)
|
|
|
|
(for-each
|
|
|
|
(lambda (_)
|
2007-11-17 12:53:37 -05:00
|
|
|
(define cmd "ikarus -b ../scheme/ikarus.boot --r6rs-script bench.ss ~a")
|
|
|
|
(unless (zero? (system (format cmd x)))
|
2007-11-05 22:49:38 -05:00
|
|
|
(fprintf (standard-error-port) "ERROR: ~s failed\n" x)))
|
|
|
|
(make-list 5)))
|
2007-11-04 17:00:11 -05:00
|
|
|
all-benchmarks)
|
|
|
|
|