unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Garbage collector tuning?
@ 2015-09-10  6:46 Jan Wedekind
  2015-09-10 13:30 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Wedekind @ 2015-09-10  6:46 UTC (permalink / raw)
  To: guile-user

Hi,
I wonder whether there is a more performant way to allocate larger memory 
blocks (e.g. 1 MByte). "gc-malloc-pointerless" seems to be much slower 
than "malloc":

                                            user     system      total        real
     Guile allocate memory              0.003780   0.000020   0.003800 (  0.003810)
     C allocate memory                  0.000060   0.000000   0.000060 (  0.000070)

Is there a way to control how often the garbage collector is run?

Thanks
Jan

[1] https://github.com/wedesoft/aiscm/blob/master/bench/bench.scm
[2] https://github.com/wedesoft/aiscm/blob/master/bench/cbench.c



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

end of thread, other threads:[~2015-09-10 21:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10  6:46 Garbage collector tuning? Jan Wedekind
2015-09-10 13:30 ` Ludovic Courtès
2015-09-10 15:51   ` Stefan Israelsson Tampe
2015-09-10 16:33   ` Jan Wedekind
2015-09-10 17:07   ` Jan Wedekind
2015-09-10 17:54     ` David Pirotte
2015-09-10 21:37       ` Jan Wedekind

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).