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 #22 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: monnier <at> iro.umontreal.ca, 18522 <at> debbugs.gnu.org
Subject: Re: bug#18522: 24.4.50; mapcar is very slow
Date: Fri, 26 Sep 2014 09:57:10 +0300
> From: Peter Münster <pmlists <at> free.fr>
> Date: Thu, 25 Sep 2014 23:36:36 +0200
> Cc: 18522 <at> debbugs.gnu.org
> 
> Please find attached 2 files with profiler-reports when entering a Gnus
> group:
> - profiler-slow.txt: entering a group is slow, and emacs was uptime since
>   about 3 days
> - profiler-fast.txt: entering the same group after a fresh restart of emacs

Is that for the same input?  How come command-execute was called 2464
times in the first profile, and only 303 times in the second?  This
alone can explain an 8-fold slowdown.

Sorry if this is a silly question: I don't use Gnus.  But to compare 2
profiles, you need to create each one of them when Emacs does the same
job in each time.  Otherwise, there's a factor at work that we cannot
glean from the profile alone.

Anyway, looks like gnus-summary-read-group-1 takes a lot of CPU in
both cases, which is above the mapcar part.  Below mapcar, the most
expensive part is parse-time-string, which doesn't really surprise me.




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.