Re: Performance assistance / advice
"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
> On 15 Apr 2025, at 13:41, Tim Bradshaw <[email protected]> wrote: > > So, after fixing that the systems have zero distance between them, because the C one is now actually doing the work it needs to do. And: > > C version with -O3: 9.4GFLOPS single-threaded > Best Lisp version: 8.1GFLOPS single-threaded > > C beats Lisp by under 20%. 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? Looking at the C code performance and the fact that it is just at 3x of the clock frequency leads me to believe that there is autovectorisation going on (2.5-3x is what you typically get on arm simd). But that also means that the lisp version is also using vectorisation as it is also substantially above the clock speed of m1. _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html