Progressive slowdown



No problem in Maxima 5.21.1 on GCL 2.6.8. (see below)  Maybe garbage
collector bugs in ECL and SBCL? -- but why would two independent
implementations have this strange bug?

BTW, are ECL and CLISP really that much slower than GCL, or are you using
slow computers? Mine is an E8400 chip (3 years old, 3GHz).  Not that speed
matters much for Maxima in the common usage scenarios.

                  -s

Maxima 5.21.1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) assume(y>1);
while true do block([t,I,j],
 t: absolute_real_time(),
 for j: 1 step 1 thru 100 do I: integrate(log(x^2+y^2),x,0,1),
 print(absolute_real_time()-t));

(%o1)                                                          [y > 1]
(%i2)
4
4
3
4
3
4
4
3
3
4
3
4
3
4
3
4
4
3
4
3
4
3
4
3
4
3
4
3
4
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
4
3
3
4
3
4
3
4
3
4
3
4
4
3
4
3
3
4
4
3
4
3
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
4
3
3
4
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
4
3
3
4
4
3
4
3
4
4
3
3
4
3
4
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
3
4
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
4
3
3
4
4
3
4
Maxima encountered a Lisp error:

 Console interrupt.

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
(%i3)

On Wed, Mar 2, 2011 at 06:48, Eric Reyssat <eric.reyssat at unicaen.fr> wrote:

> CLISP looks ok in maxima 5.20.1 :
>
> (%i4) build_info();
> Maxima version: 5.20.1
> Maxima build date: 12:35 1/21/2010
> Host type: i686-pc-linux-gnu
> Lisp implementation type: CLISP
> Lisp implementation version: 2.47 (2008-10-23) (built 3457458111) (memory
> 3473062541)
>
> (%o4)
> (%i5) while true do block([t,I,j],
>
>  t: absolute_real_time(),
>  for j: 1 step 1 thru 100 do I: integrate(log(x^2+y^2),x,0,1),
>  print(absolute_real_time()-t));
>
> 19
> 19
> 19
> 19
> 19
> 19
> 18
> Eric
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>