Re: Timing Comparison?
"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
> On 2 Nov 2025, at 20:04, David McClain <[email protected]> wrote: > > I’m willing to bet that the performance difference has very little to do with the quality of code generation from either SBCL or LWM compilers. So what does it have to do with? > The numbers involved in the Scheme timing test range from 2^6942 to 2^694242 in size. This is entirely in the domain of BIGNUM arithmetic, and I really doubt that either Lisp system encoded their BIGNUM arithmetic in themselves. Do you mean, the values had to be constantly retrieved from the heap? If so, then you would be testing the memory subsystem performance and I doubt it would change drastically depending on whether you run your script in sbcl or lw. This is the reason why statically typed languages do not perform substantially better than php in web server context: the memory is the bottleneck as webservers constantly concatenate large strings from all over the place, do a lot of hash table lookups in some scenarios, traversing DB retrieval results and json objects processing, so on. When you move a lot of data around the computational performance becomes secondary as you won’t be saturating the cores. _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html