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


View this message in rfc822 format

From: Ian Eure <ian <at> digg.com>
To: Agustin Martin <agustin.martin <at> hispalinux.es>
Cc: 2056 <at> debbugs.gnu.org
Subject: bug#2056: 23.0.60; Enabling flyspell degrades performance
Date: Thu, 26 Mar 2009 14:22:22 -0700
On Jan 30, 2009, at 4:11 AM, Agustin Martin wrote:

> On Sun, Jan 25, 2009 at 11:08:14AM -0800, Ian Eure wrote:
>> If you enable flyspell-mode in a buffer, Emacs gets slow. Not
>> unbearably slow, but there's a distinct lag when you type. It seems  
>> to
>> get worse as the buffer gets larger.
>>
>> Other people have noticed:
>> http://www.nabble.com/CVS-version:-message-mode-%2B-flyspell-terribly-slow-td20666831.html
>
> That points to a thread in emacs-devel list,
>
> http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00859.html
> http://thread.gmane.org/gmane.emacs.devel/106090/focus=106118
>
>> The behavior doesn't happen on Emacs 22.
>
> Is the same problem described there? Does disabling the tool-bar  
> make this
> slowness disappear? Note that, after above threads, some  
> improvements were
> done on this at the end of November.
>

I'm not sure if it is or not. I don't notice any difference with the  
toolbar enabled or disabled. I keep it disabled by default.

It happens with the NS port. I haven't tried GTK+ / Xaw. It doesn't  
seem to happen if I run Emacs in a terminal. If I launch NS Emacs,  
then connect to it with emacsclient, I still get the problem. It  
happens whether the buffer is visible on the text frame, the GUI  
frame, or both.

It occurs when flyspell-mode is enabled in any buffer. The major mode  
doesn't matter.

It recently got mush worse, to the point where I must disable flyspell  
in erc-mode to maintain my sanity. I suspect it was the 2009-03-14  
commits to src/nsterm.m src/nsfont.m etc.

 - Ian




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.