From: ludovic.courtes@laas.fr (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: GC improvements
Date: Tue, 03 Jan 2006 11:16:04 +0100 [thread overview]
Message-ID: <87mzid62hn.fsf@laas.fr> (raw)
In-Reply-To: <dogn3l$cv0$3@sea.gmane.org> (Han-Wen Nienhuys's message of "Fri, 23 Dec 2005 11:29:57 +0000 (UTC)")
hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) writes:
> I think that GUILE creates garbage as a side effect of evaluating
> code. If think that nothing needs to be swept, try disabling GC during
> startup, and see how well it performs memory-wise.
I did try commenting out all calls to `scm_i_gc ()' and running my
workload again. Actually, it doesn't make a big difference: a lot of
time is still spent in `scm_i_sweep_card ()', called from
`scm_i_sweep_some_cards ()' and friends.
> For startup time, I think the best (as in: quickest) would be undump a
> previous run, instead of recalculating all the initialization on every
> run. Not only does this save on GC time, it also bypasses all evaluation.
> Isn't this what Emacs also does?
Don't know, we'd have to investigate further. Still, that wouldn't fix
our greedy-GC problem.
Thanks,
Ludovic.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2006-01-03 10:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-20 16:32 GC improvements Ludovic Courtès
2005-12-23 11:29 ` Han-Wen Nienhuys
2005-12-23 15:40 ` 1.8 [was: GC improvements] Andy Wingo
2005-12-24 0:59 ` 1.8 Kevin Ryde
2006-01-03 10:16 ` Ludovic Courtès [this message]
2006-01-04 1:03 ` GC improvements Han-Wen Nienhuys
2006-01-04 16:18 ` Ludovic Courtès
2006-01-05 14:47 ` Ludovic Courtès
2006-01-06 20:22 ` Han-Wen Nienhuys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mzid62hn.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).