racket/collects/tests/racket/benchmarks/common
2011-10-22 20:56:18 -04:00
..
typed Move typed-scheme to typed-racket collection. 2011-09-03 20:49:39 -04:00
.gitignore
auto.rkt Improve Guile benchmarking. 2011-10-22 20:52:38 -04:00
bigloo-prelude.sch
browse.sch
cmdline.rkt Don't run benchmarks when only showing what's available. 2011-10-22 20:52:38 -04:00
conform.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
conform.sch
cpstak.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
cpstak.sch cpstack -> cpstak 2011-04-27 11:03:06 -04:00
ctak.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
ctak.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
dderiv.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
dderiv.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
deriv.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
deriv.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
destruct.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
destruct.sch
div.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
div.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
dynamic-input.txt.gz
dynamic.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
dynamic.sch
dynamic2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
dynamic2.sch Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
earley.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
earley.sch Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
fft.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
fft.sch Corrected the typed versions of some benchmarks to be closer to the 2010-05-27 09:30:49 -04:00
gambit-prelude.sch
graphs.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
graphs.sch Corrected some of the typed benchmarks to typecheck with Naturals as indices. 2010-05-29 14:23:11 -04:00
guile-prelude.sch A long overdue scan to eliminate files without terminating newlines. 2011-06-28 02:01:41 -04:00
index-template.html More svn -> git changes. 2010-05-17 05:41:04 -04:00
input.txt
kanren.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
kanren.sch
lattice.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
lattice.sch
lattice2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
lattice2.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
maze.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
maze.sch
maze2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
maze2.sch Changed the size of the maze2 benchmark. 2010-07-07 20:46:06 -04:00
mazefun.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
mazefun.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
mit-prelude.sch A long overdue scan to eliminate files without terminating newlines. 2011-06-28 02:01:41 -04:00
mk-bigloo.rktl Fix benchmarking for bigloo to work with its default options. 2011-04-26 15:35:22 -04:00
mk-chicken.rktl
mk-gambit.rktl Fixed command-line options for gambit in benchmarks. 2010-11-19 12:10:42 -05:00
nboyer.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nboyer.sch
nestedloop.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nestedloop.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
nfa.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nfa.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
nothing.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nothing.sch
nqueens.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nqueens.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
nucleic2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nucleic2.sch Increased the size of the pseudoknot benchmark and ported it to 2010-06-09 14:51:52 -04:00
nucleic3.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
nucleic3.sch Increased the size of the pseudoknot benchmark and ported it to 2010-06-09 14:51:52 -04:00
paraffins.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
paraffins.sch Corrected some of the typed benchmarks to typecheck with Naturals as indices. 2010-05-29 14:23:11 -04:00
petite-prelude.sch A long overdue scan to eliminate files without terminating newlines. 2011-06-28 02:01:41 -04:00
peval.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
peval.sch
psyntax-input.txt
psyntax.rkt
psyntax.sch
puzzle.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
puzzle.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
r5rs-wrap.rktl
ray.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
ray.sch Added Jeff Siskind's ray tracer to the racket-specific benchmarks. 2010-06-11 19:48:23 -04:00
README.txt cpstack -> cpstak 2011-04-27 11:03:06 -04:00
sboyer.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
sboyer.sch
scheme.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
scheme.sch
scheme2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
scheme2.sch Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
scheme48-prelude.sch
sort1.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
sort1.sch
tabulate.rkt Fix benchmark graphs in the presence of the coefficient of variation. 2011-10-22 20:56:18 -04:00
tak.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
tak.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
takl.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
takl.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
takr.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
takr.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
takr2.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
takr2.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
traverse.sch
triangle.rkt ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
triangle.sch Changed some of the benchmarks to run for more iterations. 2010-05-26 19:48:32 -04:00
wrap-common.rkt A long overdue scan to eliminate files without terminating newlines. 2011-06-28 02:01:41 -04:00
wrap.rkt Use a temporary directory to eliminate DrDr races in running benchmarks. 2011-08-17 11:24:53 -04:00

To run a benchmark, assuming you have `racket' in your path:
 ./auto.rkt <impl-or-benchmark> ...
where <impl-or-benchmark> names an implementation as one of
   racket
   bigloo
   chicken
   gambit
   larceny
   ...
or a benchmark as one of
   conform
   cpstak
   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.rkt --show

Naming no implementation/benchmark causes a standard set 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 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.

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

Files that end in ".sch" are supposed to be standard Scheme plus `time'.
Files that end in ".rkt" are Racket wrapper modules or helper scripts.
Files that end in "-typed.rktl" are Typed Scheme versions of the benchmarks.
Files that end in "-[non-]optimizing.rkt" are Typed Scheme wrappers
that turn Typed Scheme's optimizer on or off.

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

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