From: Jesper Harder <harder@ifa.au.dk>
Subject: Gnus & garbage collection
Date: Sat, 12 Jan 2002 05:01:13 +0100 [thread overview]
Message-ID: <m3y9j4cj5i.fsf@defun.localdomain> (raw)
Hi!
I tried to set `garbage-collection-messages' to t, and I noticed that
Emacs collects garbage like crazy when performing some Gnus actions.
Here are some timing results that show how it affects performance when
entering a large summary buffer and a server buffer.
This is with the default value of `gc-cons-threshold' (400,000 in Emacs):
Function Name Call Count Elapsed Time
======================= ========== ============
gnus-topic-select-group 1 94.222058
gnus-server-read-server 1 50.094491
And this is with `gc-cons-threshold' increased to 4,000,000:
Function Name Call Count Elapsed Time
======================= ========== ============
gnus-topic-select-group 1 54.852086
gnus-server-read-server 1 27.06671
So, with the default value nearly half of the time is spent in the
garbage collector.
I don't know if it's worth doing something about it -- maybe parts of
the code that are likely to generate large amounts of lisp data should
have `gc-cons-threshold' increased, or maybe people should just increase
it themself if they want a faster Gnus (and memory permits it).
--
Cheers,
Jesper Harder
next reply other threads:[~2002-01-12 4:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-12 4:01 Jesper Harder [this message]
2002-01-12 11:43 ` Simon Josefsson
2002-01-12 17:50 ` Jesper Harder
2002-01-12 22:25 ` Simon Josefsson
2002-01-12 19:54 ` Romain FRANCOISE
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3y9j4cj5i.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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 NNTP newsgroup(s).