4 ms·
As with many benchmarks, you're comparing apples and oranges. A better comparison would be with another language that uses automatic memory management (e.g., C
by xenophonf 11y ago
As with many benchmarks, you're comparing apples and oranges. A better comparison would be with another language that uses automatic memory management (e.g., C#/mono - http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=sbcl&lang2=csharp&data=u32 http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...). I'm assuming the optimization/safety settings are the defaults, too, which means SBCL ends up doing a lot of additional type checking at runtime.
- malisper 11y agoFrom looking at the source for some of the benchmarks for SBCL, it appears that almost all of them set speed to 3, debug to 0, and safety to 0.
- igouy 11y ago>>A better comparison would be with another language that uses automatic memory management…<< The default comparison is to Java: http://benchmarksgame.alioth.debian.org/u64q/lisp.html http://benchmarksgame.alioth.debian.org/u64q/lisp.html >>I'm assuming the optimization/safety settings are…<< They are shown: http://benchmarksgame.alioth.debian.org/u64q/program.php?test=nbody&lang=sbcl&id=2#log http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...