This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: performance


Hello Guilers,

Mikael Djurfeldt wrote:
> 
> Andres Heinloo <lka@physic.ut.ee> writes:
> 
> > I wrote two nested tail-recursive loops and I counted the iterations
> > of outer loop during 1 minute since executing (load
> > "loop-test.scm"). The test program (a rather stupid one) is
> > attached. Results were the following:
> >
> > SCM 5d0         625
> > MzScheme 53     535 (.scm)
> >                1063 (.so)
> > SIOD 3.5        109
> > Guile 1.3        70
> 
> Your measurements seem to indicate that Guile is 900% slower than SCM
> 5d0 for your program.  I tested your program in the normal Guile
> evaluator (Guile by default uses a debugging evaluator which can be
> switched off with (debug-disable 'debug)) and compared to SCM 5d0 on

IMHO, this default behaviour is a bit masochistic ;) You can't expect
people reviewing Guile to take time to change this, so you can't expect
a fair comparison against any other scheme interperter or extension
language. Also, making the debugging evaluator the normal one is like 
claming that Guile is so buggy that the normal situation is debugging.
Or even worst, that programming in Scheme tends to produce more bugs
than with any other programming language.

Charbel.