[Ecls-list] ECL shootout

Matthew Mondor mm_lists at pulsar-zone.net
Tue Jun 23 14:33:17 UTC 2009


On Tue, 23 Jun 2009 15:45:41 +0200
Marko Kocić <marko.kocic at gmail.com> wrote:

> Some benchmarks are fast enough, but some are embarassingly slow
> compared to SBCL.

You might want to make sure your CFLAGS environment variable uses
-march=i686 -O2 at least, possibly -O3 to allow inlining.  Although I
still noticed with objdump -dS on compiled files the high frequency of
function calls (perhaps some of them can be auto-inlined with -O3
though, but this is unlikely for calls to the ecl shared library, it
might be worth trying static binaries as well).

As you may know, SBCL doesn't rely on an external C compiler and its
optimizer is very impressive (also, many years were put into it).  That
said, SBCL isn't as easy to embed with C code as ECL is...
-- 
Matt




More information about the ecl-devel mailing list