ikarus/benchmarks
Abdulaziz Ghuloum 97d9c4ca42 * improved performance for fl+, fl-, fl*, fl/, fl=?, fl<?, fl<=?, fl>? and fl>=?
- results in 
    45% reduction in runtime for fpsum
    43% reduction in runtime for fibfp
    29% reduction in runtime for pnpoly
    28% reduction in runtime for mbrot
  - and
    23% increase in compile time for nucleic
    11% increase in compile time for ray
    10% increase in compile time for fft
2007-11-08 12:07:48 -05:00
..
rnrs-benchmarks * Fixed benchmarking tools. 2007-11-05 22:49:38 -05:00
Makefile * Fixed benchmarking tools. 2007-11-05 22:49:38 -05:00
README * removed benchmarks/BUGS because it's out of date. 2007-11-05 02:01:51 -05:00
bench.ss * Fixed benchmarks to work on (rnrs) libraries instead of the old 2007-11-04 12:03:32 -05:00
benchall.ss Fixes bug 160395: missing import from r6r script reports bogus error. 2007-11-06 01:14:27 -05:00
bib
log.error * Fixed benchmarking tools. 2007-11-05 22:49:38 -05:00
parsing-data.ss
rn100
rnrs-benchmarks.ss Fixes bug 160395: missing import from r6r script reports bogus error. 2007-11-06 01:14:27 -05:00
summarize.pl Fixes bug 160395: missing import from r6r script reports bogus error. 2007-11-06 01:14:27 -05:00
timelog * improved performance for fl+, fl-, fl*, fl/, fl=?, fl<?, fl<=?, fl>? and fl>=? 2007-11-08 12:07:48 -05:00

README

This directory contains the Gambit benchmarks and benchmarking
infrastructure, written by Marc Feeley.  Will Clinger has hacked
it up to run benchmarks on the machines used by the Larceny
project, and has added several benchmarks beyond those
distributed with Gambit.  Abdulaziz Ghuloum converted them to
R6RS libraries and added an ikarus-specific bench.ss for running
the benchmarks under ikarus.

Files and directories:

  * bench.ss: a script for running a benchmark
  * benchall.ss: a script for running all benchmarks
  * rnrs-benchmarks.ss: a library specifing the number of
    iterations that every benchmark should be run and some
    procedures (like run-benchmark) that the various benchmarks
    use.
  * rnrs-benchmarks/*: the actual benchmark libraries.
  * rn100, bib, parsing-data.ss: used by some benchmarks.

To run a benchmark, type:

  $ ikarus --r6rs-script bench.ss <benchmark-name>

  Example:
  
    $ ikarus --r6rs-script bench.ss nucleic
    running stats for compile-nucleic:
        7 collections
        262 ms elapsed cpu time, including 84 ms collecting
        262 ms elapsed real time, including 84 ms collecting
        30095456 bytes allocated
    running stats for nucleic:
        154 collections
        840 ms elapsed cpu time, including 77 ms collecting
        842 ms elapsed real time, including 78 ms collecting
        640581192 bytes allocated

The text that Ikarus's "time" macro and "time-it" procedure
output is modeled after Chez Scheme's in order to facilitate
interoperability with tools that parse benchmark data.

BUGS: 
  maze and nbody do not work yet because they require bitwise-and 
  and make-polar.

Aziz,,,