Gnus development mailing list
 help / color / mirror / Atom feed
From: hobbes@poukram.net (Rémi Letot)
To: ding@gnus.org
Subject: gnus registry takes 21 seconds to save and I can't prune it
Date: Wed, 18 Mar 2020 13:57:42 +0100	[thread overview]
Message-ID: <8736a5stvd.fsf@lybrafox.be> (raw)

Hello,

I have noticed quite a few slowdowns in my emacs for some times, but it
never became annoying enough for me to investigate.

Until now :-)

Starting emacs, gnus, or quitting them has become annoyingly long. It is
not really problematic because I leave emacs/gnus on for weeks at a
time, but still. Besides, pressing s in the group buffer is far too long
to be comfortable.

So, I diagnosed it to gnus-registry-save taking 21 seconds. 

I tried to see what happens in there, and noticed that I could set
gnus-registry-max-entries to a sensible number, but then I get an error
whenever I try to prune the registry (meaning as soon as I try to do
anything in gnus).

The error is "cl-some: Wrong type argument: listp, quote".

That happens in registry-collect-prune-candidates, on the "(memq (car
entry-key) precious)))" line, but there stops my lisp and edebug foo.

In short: can anyone help ? :-)
-- 
Rémi



             reply	other threads:[~2020-03-18 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 12:57 Rémi Letot [this message]
2020-03-18 16:04 ` Eric S Fraga
2020-03-18 17:58 ` Eric Abrahamsen
2020-03-18 22:24   ` Bob Newell
2020-03-18 23:17     ` Eric Abrahamsen
2020-03-19 17:39   ` hobbes

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=8736a5stvd.fsf@lybrafox.be \
    --to=hobbes@poukram.net \
    --cc=ding@gnus.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 NNTP newsgroup(s).