GNU bug report logs - #2056
23.0.60; Enabling flyspell degrades performance

Previous Next

Packages: ns, emacs;

Reported by: Ian Eure <ian <at> digg.com>

Date: Sun, 25 Jan 2009 19:15:05 UTC

Severity: important

Merged with 2639, 4273, 5133, 12127

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #86 received at 2056 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Marc Schwartz <marc_schwartz <at> me.com>
To: 2056 <at> debbugs.gnu.org
Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance
Date: Mon, 11 May 2009 21:41:51 -0500
Confirming that this behavior is still present using:

  GNU Emacs 23.0.93.1 (i386-apple-darwin9.6.2, NS apple- 
appkit-949.43) of 2009-05-11

I have the following in my .emacs:

  (load "/Users/marcschwartz/Downloads/Emacs/flyspell/flyspell")

  (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
  (add-hook 'tex-mode-hook 'flyspell-mode)
  (add-hook 'text-mode-hook 'flyspell-mode)

This is on a fully updated unibody MacBook Pro with OSX 10.5.6.

If I comment all of the above lines, the performance of emacs is fast  
when editing and scrolling through a large file. If I leave the lines  
as is, or comment the last three lines and manually enable flyspell  
mode after emacs has started up, all scrolling and general cursor  
motion slows down to a crawl.

I disabled the toolbar, as per comments in various posts, but that has  
no effect on emacs performance. This seems to be solely related to the  
use of flyspell mode.

I should also note that this same performance hit occurs with the  
Aquamacs devel branch built from their git repo, which is based upon  
emacs 23. The current release Aquamacs 1.7, which is based upon emacs  
22, does not exhibit this behavior.





This bug report was last modified 12 years and 105 days ago.

Previous Next


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