GNU bug report logs - #18522
occasional slow performance in some Gnus code

Previous Next

Packages: emacs, gnus;

Reported by: Peter Münster <pmlists <at> free.fr>

Date: Mon, 22 Sep 2014 10:38:02 UTC

Severity: normal

Tags: fixed

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #126 received at 18522 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Münster <pmlists <at> free.fr>
Cc: rudalics <at> gmx.at, larsi <at> gnus.org, 18522 <at> debbugs.gnu.org
Subject: Re: bug#18522: 24.4.50; mapcar is very slow
Date: Mon, 22 Feb 2016 18:22:44 +0200
> From: Peter Münster <pmlists <at> free.fr>
> Cc: rudalics <at> gmx.at,  larsi <at> gnus.org,  18522 <at> debbugs.gnu.org
> Date: Mon, 22 Feb 2016 08:37:29 +0100
> 
> On Sun, Feb 21 2016, Eli Zaretskii wrote:
> 
> > How many buffers do you have in the "slow" version? I have 230.
> 
> 12. (Because regularly I kill unused buffers...)

Curiouser and curiouser...

I just tried this in another, larger session (with more than 500
buffers), and got a 10-fold slowdown there.  So this is definitely
correlated to some measure of the session's size, although perhaps
not the number of the buffers.  Plus, it sounds like symbols that can
be buffer-local share this problem.  Can you try several more
buffer-local and not buffer-local symbols, to see if indeed the
conclusion is valid?

> What happens, if you kill 90% of your buffers?

Sorry, I can't: this is my main session where I do everything.  And
chances are killing them won't change the results, judging by your
measurements.

I think the next step is to profile the code below "let".  Can you try
using 'perf' for that purpose?




This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.