On Mon, 2010-03-29 at 13:39 -0400, Marc Feeley wrote:
> What settings are normally used for benchmarking ikarus (for example
> the benchmarks that come with the distribution)?

I'm not sure what settings are normally used for benchmarking Ikarus,
but I know of these optimization settings which can make a big
difference:

        (optimize-level 2)
        (cp0-size-limit (* 2 (cp0-size-limit)))
        
I have a ~/.ikarusrc file which contains:

        (import (ikarus))
        (optimize-level 2)
        (cp0-size-limit (* 2 (cp0-size-limit)))

which makes Ikarus execute those assignments when it starts before
executing user code (I'm pretty sure pre-compiled code is not affected).

The optimize-level may also be set with the command-line option -ON
where N is either 0, 1, or 2.  It doesn't look like there's a CL option
for cp0-size-limit.  (There are other CL options "ikarus -h" doesn't
tell you about, which you can discover in the file
scheme/ikarus.main.ss.)

-- 
: Derick
----------------------------------------------------------------

Reply via email to