hyln9 / ikarus

Optimizing incremental native-code compiler for R6RS scheme. This is a forked repository.
https://launchpad.net/ikarus
Other
5 stars 0 forks source link

glut compilation is slow #254

Open hyln9 opened 10 years ago

hyln9 commented 10 years ago

It felt like glut took the longest to compile; gl and ypsilon-compat went through quickly.

ramana@amy ~ % cat /tmp/glut.sps (import (gl) (glut) (only (ikarus) list time)) (time (list glutInit glBegin)) ramana@amy ~ % time ikarus --r6rs-script /tmp/glut.sps running stats for (list glutInit glBegin): no collections 0 ms elapsed cpu time, including 0 ms collecting 0 ms elapsed real time, including 0 ms collecting 32 bytes allocated rlwrap ikarus --r6rs-script /tmp/glut.sps 45.19s user 0.37s system 86% cpu 52.455 total ramana@amy ~ % time ikarus --compile-dependencies /tmp/glut.sps Serializing "./glut.ss.ikarus-fasl" ... Serializing "./gl.ss.ikarus-fasl" ... Serializing "./ypsilon-compat.ikarus.ss.ikarus-fasl" ... rlwrap ikarus --compile-dependencies /tmp/glut.sps 54.47s user 0.41s system 84% cpu 1:04.79 total ramana@amy ~ % time ikarus --r6rs-script /tmp/glut.sps
running stats for (list glutInit glBegin): no collections 0 ms elapsed cpu time, including 0 ms collecting 0 ms elapsed real time, including 0 ms collecting 32 bytes allocated rlwrap ikarus --r6rs-script /tmp/glut.sps 0.34s user 0.08s system 89% cpu 0.468 total ramana@amy ~ % uname -a Linux amy 2.6.28-ARCH #1 SMP PREEMPT Sun Mar 8 10:55:58 CET 2009 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux ramana@amy ~ % ikarus Ikarus Scheme version 0.0.4-rc1+, 64-bit (revision 1777, build 2009-05-14) Copyright (c) 2006-2009 Abdulaziz Ghuloum

ramana@amy ~ % free total used free shared buffers cached Mem: 1026956 925344 101612 0 108756 227540 -/+ buffers/cache: 589048 437908 Swap: 996020 207152 788868

Launchpad Details: #LP377515 Ramana Kumar - 2009-05-17 04:05:55 -0400