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

Previous Next

Packages: gnus, emacs;

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

From: Peter Münster <pmlists <at> free.fr>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org, 18522 <at> debbugs.gnu.org
Subject: Re: bug#18522: 24.4.50; mapcar is very slow
Date: Sun, 21 Feb 2016 15:54:43 +0100
On Sun, Feb 21 2016, Peter Münster wrote:

> The problem seems to be string-match:

Sorry, I was wrong. The problem seems to be the binding of
case-fold-search:

(defun my-parse-time-string-test ()
  (let (case-fold-search)
    t))

(let ((gc-cons-threshold most-positive-fixnum))
  (benchmark-run 1
    (dotimes (i 100000) (my-parse-time-string-test))))

Fast emacs: (0.054105733 0 0.0)
Slow emacs: (1.754813882 0 0.0)

-- 
           Peter




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.