public inbox for
 help / color / mirror / Atom feed
* Compiling guile-gobject experiences
@ 2003-08-02 17:17 Andreas Rottmann
  2003-08-04 16:25 ` Andy Wingo
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Rottmann @ 2003-08-02 17:17 UTC (permalink / raw)
  To: guile-gtk


I've just tried a rebuild of a new guile-gobject CVS checkout. The
build takes extremly long (I've cancelled it, after my machine started
heavy trashing). The problem is the generated guile-gnome-gw-gtk.c,
which has 154075 lines (:-O). 

My machine is not really that low-end: AMD Athlon 900Mhz, 384MB RAM,
over 1G Swap. I used gcc 3.3.1 20030728 (Debian prerelease), default
optimization settings (-O2).

After over 10 minutes of running, needing over 100MB of RAM, consuming
100% CPU, gcc got even more greedy and memory usage got up to ~825MB,
which caused my machine to trash, of course, and CPU consumption fell to
near zero.

In short, the solution would be to break the big C file into several
junks, or reduce the size of the autogenerated code (if that's
feasible at all). For comparison, I had a look at the python GTK
wrappers, and their gtk.c file only (;-)) has 37060 lines, which is
less than 25%...

Regards, Andy
Andreas Rottmann         | Rotty@ICQ      | 118634484@ICQ | | GnuPG Key:
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

It's GNU/Linux dammit!

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-09-19  0:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02 17:17 Compiling guile-gobject experiences Andreas Rottmann
2003-08-04 16:25 ` Andy Wingo
2003-08-04 16:58   ` Andreas Rottmann
2003-08-07  8:09     ` Andy Wingo
2003-08-07 11:18       ` Andreas Rottmann
2003-09-12 23:02   ` Kevin Ryde
2003-09-13 12:43     ` Marius Vollmer
2003-09-19  0:19       ` Kevin Ryde
2003-09-14 19:47     ` Andreas Rottmann
2003-09-15 17:59       ` GOOPS slowness [was: Compiling guile-gobject experiences] Andreas Rottmann
2003-09-19  0:18       ` Compiling guile-gobject experiences Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).