Re: Performance assistance / advice

"Tim Bradshaw (as tfb at tfeb dot org)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
On 15 Apr 2025, at 13:49, Yuri Davidovsky (as work at disclosure dot ie) <[email protected]> wrote:
> 
> Not bad. I assume the best lisp performance version would be sbcl? How does the C code fare without optimisations enabled for the corrected code?

Yes, SBCL: LW is OK but somewhat slower (which is fine: LW has other advantages!)

With no optimisation flags C is doing about 2.2GFLOPS.  There's not much difference between -O and -O3.

My uninformed suspicion is that C is beating SBCL because the C compiler is emitting fmadd instructions, and there's an awful lot of x -> x + a * b in the code of course.  SBCL doesn't seem to emit those.  But I'm not sure.

--tim

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.