[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mini benchmark.
- To: ECE@dwaf-hri.pwv.gov.za
- Subject: Re: Mini benchmark.
- From: Giuseppe Attardi <attardi@DI.Unipi.IT>
- Date: Thu, 26 Oct 1995 09:49:38 +0100
- Cc: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- In-reply-to: <191A26848D8@dwaf-hri.pwv.gov.za> (message from John Carter on Thu, 26 Oct 95 08:39:52 +0100)
- Organization: Dipartimento di Informatica di Pisa - Italy
I tried your benchmark with ECoLisp (my own implementation of Common Lisp,
which compiles to C) on a Sparcstation10.
I got the following times:
real time : 2.233 secs
run time : 0.900 secs
GC time : 0.883 secs
but adding a few declarations like this:
(defun test (n)
(declare (fixnum n))
(let ((x 1.0) (y (+ 1.0 (/ 1.0 n))))
(declare (short-float x y))
(dotimes (i n)
(setf x (* x y)))
(print y)
(print x)))
I got this result:
real time : 0.017 secs
run time : 0.000 secs
GC time : 0.000 secs
-- Beppe
PS
ECoLisp is available via anonymous ftp from:
- ftp.icsi.berkeley.edu [128.32.201.7], directory /pub/ai/ecl
- ftp.di.unipi.it [131.114.4.36], directory /pub/lang/lisp