Message from discussion
Very poor Lisp performance
Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 12 Aug 2005 22:58:09 -0500
Date: Fri, 12 Aug 2005 20:58:09 -0700
From: M Jared Finder <ja...@hpalace.com>
User-Agent: Debian Thunderbird 1.0.6 (X11/20050802)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.lang.lisp
Subject: Re: Very poor Lisp performance
References: <42fd4459$0$97104$ed2619ec@ptn-nntp-reader03.plus.net>
In-Reply-To: <42fd4459$0$97104$ed2619ec@ptn-nntp-reader03.plus.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <HvSdnayKD_1M8mDfRVn-ow@speakeasy.net>
Lines: 29
NNTP-Posting-Host: 64.81.73.172
X-Trace: sv3-BhlFhzfVtRwlYdluxdqoWjUUjw5FkehwDqF5oXWFKXLTl2w36Xaah1vKxdH6rifz4C+082fJH995Fnq!bDFc5smhI0xvI/phcgROAZVUaVVWeK4Eiom2D7MdPAKzaJ2Bjko4mSQvM3Mz0UAQb6u9Rqy786f6!UubDDNY+ZpBCl/jJVBWq
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: ab...@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Jon Harrop wrote:
> Several people have kindly ported my ray tracer from this page:
>
> http://www.ffconsultancy.com/free/ray_tracer/languages.html
>
> to Lisp. Some of them are reporting competitive performance. However, when I
> try to run their programs with either CMUCL or SBCL they are two orders of
> magnitude slower. Given the number of people claiming similarly good
> performance, I'd like to know what the possible cause of the relative
> slowdown on my computer is?
>
> My system is an unladen 900MHz Athlon T-bird with 768Mb RAM running Debian
> testing with SBCL 0.8.16 and CMUCL "19b-release-20050628-3 + minimal debian
> patches". Other people have both slower and faster CPUs and more and less
> RAM but all are consistently much faster than mine.
>
> I believe SBCL always compiles to native code and I am asking CMUCL to
> compile to native code with:
>
> (compile-file "ray4.lisp")
> (load "ray4.x86f")
> (time (main 6.0 "image.pgm" 256.0 4.0))
>
> Any ideas?
Post the ported code and we can take a look at it. Without the code, we
can only make shots in the dark.
-- MJF