| 1 |
This directory contains the Gambit Scheme benchmarks. It includes |
| 2 |
some of the Gabriel benchmarks, the Kernighan and Van Wyk benchmarks, |
| 3 |
some C benchmarks and other benchmarks. |
| 4 |
|
| 5 |
The "bench" script can be used to run a set of benchmarks or a single |
| 6 |
benchmark. Documentation for this script is available by executing |
| 7 |
"bench" with no argument. |
| 8 |
|
| 9 |
As a simple example, executing |
| 10 |
|
| 11 |
./bench gambit "fib tak" |
| 12 |
|
| 13 |
will run the benchmarks "fib" and "tak" using the Gambit-C |
| 14 |
compiler. The results are sent to standard output and to |
| 15 |
"results.Gambit-C-r5rs". A summary of the results is obtained |
| 16 |
by executing |
| 17 |
|
| 18 |
./summarize results.Gambit-C-r5rs |
| 19 |
|
| 20 |
The "bench" script assumes that the Gambit Scheme system and other |
| 21 |
Scheme implementations have been installed cleanly and are available |
| 22 |
in the "PATH". |
| 23 |
|
| 24 |
The "table" script is convenient for executing the benchmarks on a set |
| 25 |
of Scheme implementations and generating an HTML table of the results. |
| 26 |
You have to modify the top of the script to specify which |
| 27 |
implementations of Scheme and which benchmarks are to be used. |
| 28 |
Then, simply execute |
| 29 |
|
| 30 |
./table |