[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile performance - Ackermann function: way slower than emacs, slow
From: |
Andy Wingo |
Subject: |
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled |
Date: |
Wed, 05 Aug 2009 13:15:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
Hi Ken,
Replying a lot :)
On Tue 04 Aug 2009 11:28, Ken Raeburn <address@hidden> writes:
> % time guile -c '(begin (load-compiled "ack.go") (ackermann 3 9))'
> 48.728u 22.016s 1:10.75 99.9% 0+0k 0+0io 0pf+0w
> %
>
> Not much better than loading the .scm file, and only better for small
> values of n... in fact, with m=3 and n>=6 the performance seems worse
> in the precompiled case:
I ran this under kcachegrind and it seems that the penalty is leaving
the VM for dispatching to `catch'. This is related to Daniel's issues
leaving the VM for dynamic-wind. So it seems that's what I should work
on.
There are a number of other little issues, but this is the big one.
Andy
--
http://wingolog.org/
- Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, (continued)
- entering and leaving guile mode, and GC stack protection (was Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled), Ken Raeburn, 2009/08/06
- Re: entering and leaving guile mode, and GC stack protection, Andy Wingo, 2009/08/12
- Re: entering and leaving guile mode, and GC stack protection, Ludovic Courtès, 2009/08/14
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Ludovic Courtès, 2009/08/08
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled, Andy Wingo, 2009/08/05
Re: guile performance - Ackermann function: way slower than emacs, slower still if compiled,
Andy Wingo <=