racket/collects/tests/mzscheme/benchmarks/common
Matthew Flatt 2ef432d1bf benchmark tabulation option
svn: r13176
2009-01-16 18:31:03 +00:00
..
auto.ss benchmark tabulation option 2009-01-16 18:31:03 +00:00
bigloo-prelude.sch
browse.sch
cmdline.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
conform.sch
conform.ss
cpstack.sch
cpstack.ss
ctak.sch
ctak.ss
dderiv.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
dderiv.ss
deriv.sch mzc -e fixes 2007-11-14 01:25:01 +00:00
deriv.ss
destruct.sch
destruct.ss
div.sch
div.ss make all files terminate with a newline 2008-02-24 21:27:36 +00:00
dynamic-input.txt.gz doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
dynamic.sch
dynamic.ss
dynamic2.sch v3.99.0.2 2007-11-13 12:40:00 +00:00
dynamic2.ss v3.99.0.2 2007-11-13 12:40:00 +00:00
earley.sch add test for embedding MzScheme and resetting via scheme_basic_env 2008-09-07 12:41:20 +00:00
earley.ss
fft.sch
fft.ss
gambit-prelude.sch
graphs.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
graphs.ss
index-template.html
input.txt
lattice.sch
lattice.ss
lattice2.sch v3.99.0.2 2007-11-13 12:40:00 +00:00
lattice2.ss v3.99.0.2 2007-11-13 12:40:00 +00:00
maze.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
maze.ss
maze2.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
maze2.ss v3.99.0.2 2007-11-13 12:40:00 +00:00
mazefun.sch
mazefun.ss
mk-bigloo.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
mk-chicken.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
mk-gambit.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
nboyer.sch
nboyer.ss
nestedloop.sch
nestedloop.ss
nfa.sch
nfa.ss
nqueens.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
nqueens.ss
nucleic2.sch
nucleic2.ss
paraffins.sch
paraffins.ss
peval.sch
peval.ss
puzzle.sch
puzzle.ss
r5rs-wrap.ss plt-r5rs exe and r5rs doc 2008-02-02 04:14:04 +00:00
README.txt
sboyer.sch
sboyer.ss
scheme.sch
scheme.ss
scheme2.sch v3.99.0.2 2007-11-13 12:40:00 +00:00
scheme2.ss v3.99.0.2 2007-11-13 12:40:00 +00:00
sort1.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
sort1.ss
tabulate.ss benchmark tabulation option 2009-01-16 18:31:03 +00:00
tak.sch
tak.ss
takl.sch doc corrections in quick and guide 2007-12-01 01:47:32 +00:00
takl.ss
takr.sch
takr.ss
takr2.sch fix some scribble->latex problems 2008-03-29 03:16:44 +00:00
takr2.ss fix some scribble->latex problems 2008-03-29 03:16:44 +00:00
traverse.sch
triangle.sch
triangle.ss
wrap.ss optimizer inlining improvements, especially to ensure that single-use bindings are inlined 2008-03-27 16:07:42 +00:00

To run a benchmark, assuming you have `mzscheme' in your path:
 ./auto.ss <impl-or-benchmark> ...
where <impl-or-benchmark> names an implementation as one of
   mzscheme3m
   bigloo
   chicken
   gambit
   larceny
   ...
or a benchmark as one of
   conform
   cpstack
   ctak
   ...
or any of the above prefixed by "no-" to skip the corresponding
<impl-or-benchmark>. To see a complete list of implementations
and benchmarks, run
 ./auto.ss --show

Naming no implementation/benchmark causes a standard of them to be run
(as reported by --show). Similarly, if the first named
implementation/benchmak starts with "no-", the default set is used
minus the "no-"-specified implementation/benchmark.

The output is a comment line
  ; <date and time>
and then a series of lines of the form
  [<impl> <benchmark> (<cpu-msec> <real-msec> <gc-msec>) <compile-msec>]
where #f means that the information is unavailable, or that the
benchmark wasn't run due to an implementation limitation. The
<cpu-msec> and <compile-msec> parts are #f only when the benchmark
wasn't run.

All benchmarks must be run from the directory containing this file.

Most bechmarks were obtained from
 http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/scheme/code/bench/gabriel/
 http://www.ccs.neu.edu/home/will/GC/sourcecode.html
 Marc Feeley (who has all of them and more)

Files that end in ".sch" are supposed to be standard Scheme plus `time'.
Files that end in ".ss" are MzScheme wrapper modules or helper scripts.

To build <benchmark>.sch directly with Gambit, Bigloo, or Chicken:
  mzscheme -qr mk-gambit.ss <benchmark> ; gsi -:m10000 <benchmark>.o1
  mzscheme -qr mk-bigloo.ss <benchmark> ; <benchmark>
  mzscheme -qr mk-chicken.ss <benchmark> ; <benchmark>

Unpack "dynamic-input.txt.gz" if you want to run the "dynamic" benchmark,
but the auto.ss script will do that for you.