chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] multiple values in chicken


From: Shawn W.
Subject: Re: [Chicken-users] multiple values in chicken
Date: Fri, 1 Feb 2008 19:01:46 -0800


On Feb 1, 2008, at 10:52 AM, Zbigniew wrote:

The program is identical and generated by the same compiler (SVN head) with -Ob and the stack size is identical (128k). We saw it was very fast on a Pentium M and an Athlon 1600 on Linux, and it was very slow on a 2GHz Core 2 Duo (OS X), an unknown OS X box and a PPC (probably OS X). I wonder if someone could try
this on a ~2GHz Core 2 Duo under Linux for a direct comparison.


Results on my not-quite-2GHZ C2D follow, substantially different from Ivan's. Mine is using 64-bit mode, his 32-bit. (btw, on a 1.2Ghz G4 running OS X, the values version is also very slow compared to the list one, 30.375 seconds versus 1.574.)

Script started on Fri 01 Feb 2008 06:31:00 PM PST
address@hidden ~]$ cat /proc/cpuinfo | grep model | head -2
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     T5450  @ 1.66GHz

address@hidden ~]$ csc -V
CHICKEN
Version 3.0.1 - linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables applyhook ]
(c)2000-2008 Felix L. Winkelmann        compiled 2007-12-31 on gargamel (Linux)

address@hidden ~]$ gcc --version
gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

address@hidden ~]$ csc -O2 /mnt/thumb/shinn.scm -o shinn
address@hidden ~]$ ./shinn
---- VALUES --------------------------------------------------
  45.797 seconds elapsed
  17.769 seconds in (major) GC
       0 mutations
      28 minor GCs
    7570 major GCs
---- LIST ----------------------------------------------------
   6.393 seconds elapsed
   0.107 seconds in (major) GC
       0 mutations
     289 minor GCs
      42 major GCs

address@hidden ~]$ csc -Ob /mnt/thumb/shinn.scm -o shinn2
address@hidden ~]$ ./shinn2
---- VALUES --------------------------------------------------
  37.201 seconds elapsed
  14.123 seconds in (major) GC
       0 mutations
     766 minor GCs
    6112 major GCs
---- LIST ----------------------------------------------------
    1.73 seconds elapsed
       0 seconds in (major) GC
       0 mutations
   10989 minor GCs
       0 major GCs

address@hidden ~]$
Script done on Fri 01 Feb 2008 06:35:57 PM PST


--
Shawn W.
address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]