From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,RDNS_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 12437 invoked from network); 18 Mar 2020 15:23:57 -0000 Received: from unknown (HELO lists1.math.uh.edu) (129.7.128.208) by inbox.vuxu.org with ESMTP; 18 Mar 2020 15:23:57 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jEaXE-00061q-BI; Wed, 18 Mar 2020 10:23:08 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jEYIv-0004uc-6d for ding@lists.math.uh.edu; Wed, 18 Mar 2020 08:00:13 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jEYIt-0007ZA-7H for ding@lists.math.uh.edu; Wed, 18 Mar 2020 08:00:13 -0500 Received: from ciao.gmane.io ([159.69.161.202]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jEYIl-0000gP-QA for ding@gnus.org; Wed, 18 Mar 2020 14:00:06 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jEYIk-00046O-Bn for ding@gnus.org; Wed, 18 Mar 2020 14:00:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: hobbes@poukram.net (=?utf-8?Q?R=C3=A9mi?= Letot) Subject: gnus registry takes 21 seconds to save and I can't prune it Date: Wed, 18 Mar 2020 13:57:42 +0100 Message-ID: <8736a5stvd.fsf@lybrafox.be> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:YuP1Eo9r8a1qZzn7Ge3YiGhn31A= List-ID: Precedence: bulk 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