From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Eure Newsgroups: gmane.emacs.bugs Subject: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Thu, 26 Mar 2009 14:22:22 -0700 Message-ID: <66F83509-2438-4833-AAB0-A5054C8EF64F@digg.com> References: <20090130121149.GA6169@agmartin.aq.upm.es> Reply-To: Ian Eure , 2056@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238103955 27487 80.91.229.12 (26 Mar 2009 21:45:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2009 21:45:55 +0000 (UTC) Cc: 2056@emacsbugs.donarmstrong.com To: Agustin Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 26 22:47:13 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmxPi-0003WB-3c for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2009 22:47:02 +0100 Original-Received: from localhost ([127.0.0.1]:40991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxOK-0004UN-Ua for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2009 17:45:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmxMg-0003Dz-HE for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmxMb-00036v-4T for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:53 -0400 Original-Received: from [199.232.76.173] (port=52794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxMb-00036f-04 for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:49 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmxMa-0007is-34 for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:48 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2QLhjP6015305; Thu, 26 Mar 2009 14:43:45 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2QLU2FO011520; Thu, 26 Mar 2009 14:30:02 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Ian Eure Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Mar 2009 21:30:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2056 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2056-submit@emacsbugs.donarmstrong.com id=B2056.123810254910078 (code B ref 2056); Thu, 26 Mar 2009 21:30:02 +0000 Original-Received: (at 2056) by emacsbugs.donarmstrong.com; 26 Mar 2009 21:22:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.digg.com (mail.digg.com [64.191.203.36]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2QLMQq1010064 for <2056@emacsbugs.donarmstrong.com>; Thu, 26 Mar 2009 14:22:27 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 81054A85077; Thu, 26 Mar 2009 14:22:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at Original-Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pFVfFSf7Sgu3; Thu, 26 Mar 2009 14:22:23 -0700 (PDT) Original-Received: from [10.2.16.50] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id D1549A84FC8; Thu, 26 Mar 2009 14:22:22 -0700 (PDT) In-Reply-To: <20090130121149.GA6169@agmartin.aq.upm.es> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 26 Mar 2009 17:43:53 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:26647 Archived-At: 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