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 #129 received at 18522 <at> debbugs.gnu.org (full text, mbox):

From: Peter Münster <pmlists <at> free.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
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 21:41:11 +0100
On Mon, Feb 22 2016, Eli Zaretskii wrote:

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

Slow emacs: almost all time is spent in Fset_default (96%)

Fast emacs:
  25.36%  emacs         emacs                          [.] eval_sub
  10.73%  emacs         emacs                          [.] Fset_default
   9.63%  emacs         emacs                          [.] Flength
   6.54%  emacs         emacs                          [.] unbind_to
   5.44%  emacs         emacs                          [.] hash_lookup
   4.53%  emacs         emacs                          [.] Flet

You can try it too on your running sessions: "perf record -p PID" and
then "perf report". (just use something like "dotimes (i 1000000000)")

-- 
           Peter




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

Previous Next


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