[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Number crunching in CLISP.



> (time (do ...))
>
> sparc2  : Real time: 31.588968 sec.
>           Run time: 31.47 sec.
>           Space: 1600552 Bytes
>           GC: 3, GC time: 0.7 sec.

You were benchmarking mostly the interpreter! Compile things before timing
them:

(locally (declare (compile)) (time (do ...)))

Real time: 3.758725 sec.
Run time: 2.88 sec.
Space: 1600000 Bytes
GC: 3, GC time: 0.84 sec.

> Also it makes the suns look pretty slow?

The SPARC architecture makes clisp's recursive interpreter a bit slow.


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de