From unknown Sat Jun 21 10:40:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2056 <2056@debbugs.gnu.org> To: bug#2056 <2056@debbugs.gnu.org> Subject: Status: 23.0.60; Enabling flyspell degrades performance Reply-To: bug#2056 <2056@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:40:02 +0000 retitle 2056 23.0.60; Enabling flyspell degrades performance reassign 2056 emacs,ns submitter 2056 Ian Eure severity 2056 important thanks From ian@digg.com Sun Jan 25 11:08:21 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 19:08:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PJ8Ikv019887 for ; Sun, 25 Jan 2009 11:08:19 -0800 Received: from mx10.gnu.org ([199.232.76.166]:57528) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LRAJe-0001f1-4E for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 14:06:42 -0500 Received: from zimbra.digg.com ([64.191.203.36]:37365 helo=mail.digg.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRALA-0004ld-Oy for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 14:08:17 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 09D85A85078 for ; Sun, 25 Jan 2009 11:08:16 -0800 (PST) X-Virus-Scanned: amavisd-new at 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 S9fIfvBLeoqM for ; Sun, 25 Jan 2009 11:08:15 -0800 (PST) Received: from [10.2.16.254] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id 74492A85074 for ; Sun, 25 Jan 2009 11:08:15 -0800 (PST) Message-Id: From: Ian Eure To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.930.3) Mime-Version: 1.0 (Apple Message framework v930.3) Subject: 23.0.60; Enabling flyspell degrades performance Date: Sun, 25 Jan 2009 11:08:14 -0800 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 The behavior doesn't happen on Emacs 22. In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-01-20 on neutron.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: VC dir Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: S u b s e q u e n t SPC c o m m a n d s SPC f a i l SPC t o SPC r u n , SPC M-b M-b M-b o n SPC t h e SPC d i r e d SPC b u f f e r SPC C-e C-n s i n c e SPC t h e y SPC p a s s SPC a SPC n o n e s i x i s t e n t SPC p a t h SPC t o SPC g i t . M-` M-` T h e SPC i s s u e SPC s e e m s SPC t o SPC b e SPC t h a t SPC v c - d i r e d SPC u s c a l l s SPC g i t SPC d i g g - f f - i n d e x , SPC w h i c h SPC s h o w s SPC a l l SPC p a t h s SPC r e l a t i v e SPC t o SPC t h e SPC W C SPC r o o t SPC r a t h e r SPC t h a n SPC t h e SPC P W D . M-b C-d C C-e SPC T h i s SPC l e a d s SPC t o SPC o n C-n C-x C-o C-v C-v C-v C-s t SPC i SPC n SPC y C-n C-p M-< C-c C-c y e s Recent messages: Mark set Undo! Mark set Auto-saving...done tmm-prompt: Command attempted to use minibuffer while in minibuffer Quit Auto-saving...done Mark saved where search started Mark set Sending...done From agustin.martin@upm.es Fri Jan 30 04:12:02 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 30 Jan 2009 12:12:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from edison.ccupm.upm.es (edison.ccupm.upm.es [138.100.4.49]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0UCBvKv018573 for <2056@emacsbugs.donarmstrong.com>; Fri, 30 Jan 2009 04:11:59 -0800 Received: from mala.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id n0UCBnoI013627; Fri, 30 Jan 2009 13:11:49 +0100 Received: by mala.aq.upm.es (Postfix, from userid 1000) id BB7A420114; Fri, 30 Jan 2009 13:11:49 +0100 (CET) Date: Fri, 30 Jan 2009 13:11:49 +0100 From: Agustin Martin To: Ian Eure , 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Message-ID: <20090130121149.GA6169@agmartin.aq.upm.es> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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. -- Agustin From rgm@gnu.org Fri Feb 27 17:46:35 2009 Received: (at control) by emacsbugs.donarmstrong.com; 28 Feb 2009 01:46:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1S1kWj9024573 for ; Fri, 27 Feb 2009 17:46:33 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LdEFQ-0006Rf-PA; Fri, 27 Feb 2009 20:44:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18856.38636.717817.440118@fencepost.gnu.org> Date: Fri, 27 Feb 2009 20:44:12 -0500 From: Glenn Morris To: control Subject: control message merge 2056 2503 reassign 2504 emacs,ns reassogn 2505 spam From rgm@gnu.org Wed Mar 11 12:41:48 2009 Received: (at control) by emacsbugs.donarmstrong.com; 11 Mar 2009 19:41:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2BJfkOG029200 for ; Wed, 11 Mar 2009 12:41:47 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LhUJD-00047x-Pj; Wed, 11 Mar 2009 15:41:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18872.5111.716159.247497@fencepost.gnu.org> Date: Wed, 11 Mar 2009 15:41:43 -0400 From: Glenn Morris To: control Subject: control message merge 2056 2639 severity 2633 minor reassign 2640 spam From rgm@gnu.org Thu Mar 19 09:44:33 2009 Received: (at control) by emacsbugs.donarmstrong.com; 19 Mar 2009 16:44:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JGiUNx010723 for ; Thu, 19 Mar 2009 09:44:32 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LkLM6-0003rA-6a; Thu, 19 Mar 2009 12:44:30 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18882.30318.59416.847832@fencepost.gnu.org> Date: Thu, 19 Mar 2009 12:44:30 -0400 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes merge 2717 2639 reassign 2718 spam reassign 2719 spam reassign 2720 emacs,ns reassign 2721 spam From ian@digg.com Thu Mar 26 14:22:29 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 26 Mar 2009 21:22:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 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 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) 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) Cc: 2056@debbugs.gnu.org Message-Id: <66F83509-2438-4833-AAB0-A5054C8EF64F@digg.com> From: Ian Eure To: Agustin Martin In-Reply-To: <20090130121149.GA6169@agmartin.aq.upm.es> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Thu, 26 Mar 2009 14:22:22 -0700 References: <20090130121149.GA6169@agmartin.aq.upm.es> X-Mailer: Apple Mail (2.930.3) 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 From rgm@gnu.org Wed Apr 1 23:48:32 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Apr 2009 06:48:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n326mTYY000572 for ; Wed, 1 Apr 2009 23:48:30 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LpGiy-0002B0-Qu; Thu, 02 Apr 2009 02:48:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18900.24508.754673.868775@fencepost.gnu.org> Date: Thu, 2 Apr 2009 02:48:28 -0400 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes severity 2056 serious severity 594 minor severity 1609 serious severity 2419 wishlist severity 2763 serious reassign 2849 spam reassign 2850 spam reassign 2854 spam reassign 2855 spam reassign 2856 spam From sl392@cam.ac.uk Mon Apr 13 16:49:03 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 13 Apr 2009 23:49:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.0 required=4.0 tests=FAKE_REPLY_C autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-1.csi.cam.ac.uk (ppsw-1.csi.cam.ac.uk [131.111.8.131]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3DNn0PQ000710 for <2056@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 16:49:01 -0700 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]:63836 helo=zeus.local) by ppsw-1.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.151]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1LtVtb-00015e-5J (Exim 4.70) for 2056@emacsbugs.donarmstrong.com (return-path ); Tue, 14 Apr 2009 00:48:59 +0100 From: Leo To: 2056@debbugs.gnu.org Subject: Re: 23.0.60; Enabling flyspell degrades performance Date: Tue, 14 Apr 2009 00:48:58 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" Hi there, I'd like to point out that with turn-on-flyspell added to text-mode-hook. M-x report-emacs-bug will take 9.8 seconds to set up the mail buffer in my fairly modern machine (intel core 2 duo with 4G ram). I do this measurement using stopwatch from the moment I hit RET at the SUBJECT prompt and the result is reproducible. The process is instant without flyspell. This is by far the easiest way to see the great degradation in performance due to flyspell. I am running GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-04-12 on 64-71-7-214.static.wiline.com. Best wishes, Leo From miles@gnu.org Mon Apr 13 21:34:39 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 04:34:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tyo201.gate.nec.co.jp (TYO201.gate.nec.co.jp [202.32.8.193]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3E4YZ8d009533 for <2056@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 21:34:36 -0700 Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n3E4YYL6027135; Tue, 14 Apr 2009 13:34:34 +0900 (JST) Received: from relay31.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay31.aps.necel.com with ESMTP; Tue, 14 Apr 2009 13:34:34 +0900 Received: from dhlpc061 ([10.114.114.58] [10.114.114.58]) by relay31.aps.necel.com with ESMTP; Tue, 14 Apr 2009 13:34:34 +0900 Received: by dhlpc061 (Postfix, from userid 31295) id 0775B52E200; Tue, 14 Apr 2009 13:34:33 +0900 (JST) From: Miles Bader To: Leo Cc: 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance References: Reply-To: Miles Bader System-Type: x86_64-unknown-linux-gnu Blat: Foop Date: Tue, 14 Apr 2009 13:34:33 +0900 In-Reply-To: (Leo's message of "Tue, 14 Apr 2009 00:48:58 +0100") Message-ID: Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: miles@gnu.org Leo writes: > I'd like to point out that with turn-on-flyspell added to > text-mode-hook. M-x report-emacs-bug will take 9.8 seconds to set up the > mail buffer in my fairly modern machine (intel core 2 duo with 4G ram). > I do this measurement using stopwatch from the moment I hit RET at the > SUBJECT prompt and the result is reproducible. The process is instant > without flyspell. ... > GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) Hmm, it may be a macos problem, because on this system (also a core2duo, though with only 1GB of RAM...) there's no perceptible delay when doing the above. (GNU Emacs 23.0.92.9 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.0) of 2009-04-14 on dhlpc061) -Miles p.s. I've never tried using flyspell in mail... rather handy actually! -- The trouble with most people is that they think with their hopes or fears or wishes rather than with their minds. -- Will Durant From sl392@hermes.cam.ac.uk Mon Apr 13 22:02:30 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 05:02:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-6.csi.cam.ac.uk (ppsw-6.csi.cam.ac.uk [131.111.8.136]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3E52MGd016832 for <2056@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 22:02:23 -0700 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:51028) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES256-SHA:256) id 1Ltamr-0004V0-LS (Exim 4.70) (return-path ); Tue, 14 Apr 2009 06:02:21 +0100 From: Leo To: Miles Bader Cc: 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance References: Date: Tue, 14 Apr 2009 06:02:21 +0100 In-Reply-To: (Miles Bader's message of "Tue, 14 Apr 2009 13:34:33 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-04-14 05:34 +0100, Miles Bader wrote: [...] > Hmm, it may be a macos problem, because on this system (also a core2duo, > though with only 1GB of RAM...) there's no perceptible delay when doing > the above. How to verify whether that is indeed the culprit? And how to fix it? > (GNU Emacs 23.0.92.9 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.0) of 2009-04-14 on dhlpc061) > > -Miles > > p.s. I've never tried using flyspell in mail... rather handy actually! -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. From eliz@gnu.org Tue Apr 14 00:09:22 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 07:09:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3E79ILG019321 for <2056@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 00:09:19 -0700 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KI200100X2V1A00@i-mtaout1.012.net.il> for 2056@emacsbugs.donarmstrong.com; Tue, 14 Apr 2009 10:09:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.240.185]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KI2002GRX78NG40@i-mtaout1.012.net.il>; Tue, 14 Apr 2009 10:09:08 +0300 (IDT) Date: Tue, 14 Apr 2009 10:09:15 +0300 From: Eli Zaretskii Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance In-reply-to: X-012-Sender: halo1@inter.net.il To: Leo , 2056@debbugs.gnu.org Reply-to: Eli Zaretskii Message-id: <838wm3ogo4.fsf@gnu.org> References: > From: Leo > Date: Tue, 14 Apr 2009 00:48:58 +0100 > Cc: > > I'd like to point out that with turn-on-flyspell added to > text-mode-hook. M-x report-emacs-bug will take 9.8 seconds to set up the > mail buffer in my fairly modern machine (intel core 2 duo with 4G ram). > I do this measurement using stopwatch from the moment I hit RET at the > SUBJECT prompt and the result is reproducible. The process is instant > without flyspell. I don't see this on my machine (Windows XP), there's no visible delay. Could it be that somehow each time you do this the speller sub-process is started (because it is killed when the mail buffer is killed)? That shouldn't be the case, but I have no other ideas, except something platform-specific, as Miles suggested. From eliz@gnu.org Tue Apr 14 00:10:58 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 07:10:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3E7Asej020533 for <2056@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 00:10:56 -0700 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KI200K00X8PVY00@i-mtaout7.012.net.il> for 2056@emacsbugs.donarmstrong.com; Tue, 14 Apr 2009 10:10:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.240.185]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KI200DLNXA07Y20@i-mtaout7.012.net.il>; Tue, 14 Apr 2009 10:10:49 +0300 (IDT) Date: Tue, 14 Apr 2009 10:10:55 +0300 From: Eli Zaretskii Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance In-reply-to: X-012-Sender: halo1@inter.net.il To: Leo , 2056@debbugs.gnu.org Cc: miles@gnu.org Reply-to: Eli Zaretskii Message-id: <837i1noglc.fsf@gnu.org> References: > From: Leo > Date: Tue, 14 Apr 2009 06:02:21 +0100 > Cc: 2056@emacsbugs.donarmstrong.com > > On 2009-04-14 05:34 +0100, Miles Bader wrote: > [...] > > Hmm, it may be a macos problem, because on this system (also a core2duo, > > though with only 1GB of RAM...) there's no perceptible delay when doing > > the above. > > How to verify whether that is indeed the culprit? Try running Emacs under strace (or any equivalent, if that's not the name of the utility on MacOS), and post the results here. Maybe the trace will show what takes so long. > And how to fix it? That depends on the findings, obviously. From rgm@gnu.org Tue Apr 14 09:28:20 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 16:28:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EGSH8B018636 for <2056@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 09:28:18 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LtlUd-0000Ib-Jz; Tue, 14 Apr 2009 12:28:15 -0400 From: Glenn Morris To: Eli Zaretskii Cc: 2056@debbugs.gnu.org, Leo Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance References: <838wm3ogo4.fsf@gnu.org> X-Spook: top secret beanpole Abu Ghraib NATO AMW Rumsfeld Blowpipe X-Ran: q~Y"EYC!{$'C&9hCCu+ (Eli Zaretskii's message of "Tue, 14 Apr 2009 10:09:15 +0300") Message-ID: <2nocuz9p40.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eli Zaretskii wrote: > That shouldn't be the case, but I have no other ideas, except > something platform-specific, as Miles suggested. Of the many times this bug has been reported, 2503 was on MS Windows, and 2717 was on GNU/Linux. From monnier@iro.umontreal.ca Tue Apr 14 10:09:28 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 17:09:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EH9PUu030843 for <2056@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 10:09:26 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnwGANFf5ElLd+7D/2dsb2JhbACBUs8Pg3wGhRc X-IronPort-AV: E=Sophos;i="4.40,186,1238990400"; d="scan'208";a="37051854" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 14 Apr 2009 13:09:20 -0400 Received: by pastel.home (Postfix, from userid 20848) id CAFC17EF6; Tue, 14 Apr 2009 13:09:19 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Cc: 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Message-ID: References: <838wm3ogo4.fsf@gnu.org> <2nocuz9p40.fsf@fencepost.gnu.org> Date: Tue, 14 Apr 2009 13:09:19 -0400 In-Reply-To: <2nocuz9p40.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 14 Apr 2009 12:28:15 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> That shouldn't be the case, but I have no other ideas, except >> something platform-specific, as Miles suggested. > Of the many times this bug has been reported, 2503 was on MS Windows, > and 2717 was on GNU/Linux. Hmm, so it's about 8% more common under GNU/Linux. Care to share your script to count them (you didn't count them by hand, did you)? Stefan ;-) From dann@godzilla.ics.uci.edu Tue Apr 14 10:48:12 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 14 Apr 2009 17:48:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EHm92L009306 for <2056@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 10:48:10 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3EHln7h002699; Tue, 14 Apr 2009 10:47:49 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3EHlnLM000490; Tue, 14 Apr 2009 10:47:49 -0700 (PDT) Date: Tue, 14 Apr 2009 10:47:49 -0700 (PDT) Message-Id: <200904141747.n3EHlnLM000490@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Stefan Monnier Cc: 2056@debbugs.gnu.org, Glenn Morris Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance References: <838wm3ogo4.fsf@gnu.org> <2nocuz9p40.fsf@fencepost.gnu.org> X-Debbugs-No-Ack: yes In-Reply-To: (Stefan Monnier's message of "Tue, 14 Apr 2009 13:09:19 -0400") Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3EHln7h002699 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Stefan Monnier writes: > >> That shouldn't be the case, but I have no other ideas, except > >> something platform-specific, as Miles suggested. > > Of the many times this bug has been reported, 2503 was on MS Windows, > > and 2717 was on GNU/Linux. > > Hmm, so it's about 8% more common under GNU/Linux. Care to share your > script to count them (you didn't count them by hand, did you)? Didn't know it's possible to do arithmetic on bug numbers ... Following the recipe from bug#2717 on GNU/Linux shows a slowdown for me too. If instead I do (as suggested in some other bug): emacs -Q gall1.shtml M-: (setq process-connection-type nil) RET M-x flyspell-mode RET then the cursor movement is much better. Not perfect, but still better. From geb-bug-gnu-emacs@m.gmane.org Tue Apr 14 15:22:12 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 14 Apr 2009 22:22:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EMM78G015319 for ; Tue, 14 Apr 2009 15:22:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ltr14-0008Jg-Kd for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 18:22:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ltr0z-0008JQ-BE for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 18:22:05 -0400 Received: from [199.232.76.173] (port=49178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ltr0z-0008JM-3W for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 18:22:01 -0400 Received: from main.gmane.org ([80.91.229.2]:45643 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ltr0y-0004CT-O1 for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 18:22:00 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ltr0x-0005pg-21 for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 22:21:59 +0000 Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Apr 2009 22:21:59 +0000 Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Apr 2009 22:21:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Leo Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Tue, 14 Apr 2009 23:21:46 +0100 Organization: University of Cambridge Lines: 15 Message-ID: References: <837i1noglc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:OhwCFVDZpkktimmygAhW+fUuff4= Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) On 2009-04-14 08:10 +0100, Eli Zaretskii wrote: >> How to verify whether that is indeed the culprit? > > Try running Emacs under strace (or any equivalent, if that's not the > name of the utility on MacOS), and post the results here. Maybe the > trace will show what takes so long. I hope someone else who is more familiar with this can help. I am new to OS X and I'm scared of using anything to do with C. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. www.git-scm.com git - the one true version control system From cyd@stupidchicken.com Thu Apr 16 11:05:48 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 16 Apr 2009 18:05:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3GI5jYF027761 for <2056@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 11:05:46 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 7EC0357E24A; Thu, 16 Apr 2009 14:07:34 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: Stefan Monnier , 2056@debbugs.gnu.org, Glenn Morris Subject: Re: 23.0.60; Enabling flyspell degrades performance Date: Thu, 16 Apr 2009 14:07:34 -0400 Message-ID: <87y6u0mpzt.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Following the recipe from bug#2717 on GNU/Linux shows a slowdown for > me too. If instead I do (as suggested in some other bug): > emacs -Q gall1.shtml > M-: (setq process-connection-type nil) RET > M-x flyspell-mode RET > > then the cursor movement is much better. Not perfect, but still > better. I see a slowdown, but the slowdown seems to be identical in Emacs 22 and Emacs 23. I suspect that flyspell is doing something silly (i.e., that the problem is in flyspell rather than Emacs core). From cyd@stupidchicken.com Thu Apr 16 11:52:30 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 16 Apr 2009 18:52:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3GIqPHX006728 for <2056@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 11:52:26 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2883057E24A; Thu, 16 Apr 2009 14:54:14 -0400 (EDT) From: Chong Yidong To: Dan Nicolaescu Cc: Ian Eure , Stefan Monnier , 2056@debbugs.gnu.org, Glenn Morris , Leo , Adrian Robert Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Thu, 16 Apr 2009 14:54:14 -0400 Message-ID: <87hc0oig4p.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Dan Nicolaescu wrote: > Following the recipe from bug#2717 on GNU/Linux shows a slowdown for > me too. Turns out that the flyspell's sgml-mode-specific function, sgml-mode-flyspell-verify, was quite sloppily written (among other things, it was leaking markers). I've checked in a version that is much faster. The slowdown observed with sgml-mode + flyspell should be gone now. This solves bug#2717. However, there appears to be a slowdown still present on Mac OS. In bug#2056, Ian Eure claims that there is a slowdown for all major modes (observed on Mac OS), and in bug#2503 Leo observes a slowdown (also observed on Mac OS). Adrian, these may be related to how the NS port handles processes, or tool bar update, or something along these lines. Can you see if you can reproduce it? From cyd@stupidchicken.com Thu Apr 16 11:55:22 2009 Received: (at control) by emacsbugs.donarmstrong.com; 16 Apr 2009 18:55:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3GItJbO007894 for ; Thu, 16 Apr 2009 11:55:20 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6ED4057E24A; Thu, 16 Apr 2009 14:57:08 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: unmerge 2717 Date: Thu, 16 Apr 2009 14:57:08 -0400 Message-ID: <87iql4bf5n.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii unmerge 2717 thanks From ian@digg.com Fri Apr 17 15:42:12 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 17 Apr 2009 22:42:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.digg.com (zimbra.digg.com [64.191.203.36]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3HMg91R006625 for <2056@emacsbugs.donarmstrong.com>; Fri, 17 Apr 2009 15:42:10 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 57387A84FC0; Fri, 17 Apr 2009 15:42:09 -0700 (PDT) X-Virus-Scanned: amavisd-new at 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 gHdJR8xjL1Vq; Fri, 17 Apr 2009 15:42:08 -0700 (PDT) Received: from [10.2.16.50] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id 6BAF5A84F10; Fri, 17 Apr 2009 15:42:08 -0700 (PDT) Cc: Dan Nicolaescu , Stefan Monnier , 2056@debbugs.gnu.org, Glenn Morris , Leo , Adrian Robert Message-Id: From: Ian Eure To: Chong Yidong In-Reply-To: <87hc0oig4p.fsf@cyd.mit.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Fri, 17 Apr 2009 15:42:07 -0700 References: <87hc0oig4p.fsf@cyd.mit.edu> X-Mailer: Apple Mail (2.930.3) On Apr 16, 2009, at 11:54 AM, Chong Yidong wrote: > Dan Nicolaescu wrote: > >> Following the recipe from bug#2717 on GNU/Linux shows a slowdown for >> me too. > > Turns out that the flyspell's sgml-mode-specific function, > sgml-mode-flyspell-verify, was quite sloppily written (among other > things, it was leaking markers). I've checked in a version that is > much > faster. The slowdown observed with sgml-mode + flyspell should be > gone > now. This solves bug#2717. > > However, there appears to be a slowdown still present on Mac OS. > > In bug#2056, Ian Eure claims that there is a slowdown for all major > modes (observed on Mac OS), and in bug#2503 Leo observes a slowdown > (also observed on Mac OS). > This change has no effect on the performance issue I see. > Adrian, these may be related to how the NS port handles processes, or > tool bar update, or something along these lines. Can you see if you > can > reproduce it? The NS port seems to be very slow generally. For example, faces seem to be extremely slow to paint/refresh. You can see this: 1. M-x sql-sqlite RET /tmp/foo.sqlite3 RET 2. C-x 4 b *sql* RET 3. M-x sql-mode RET 4. Enter this query: CREATE TABLE `foo` ( `id` integer primary KEY ); 5. C-x h C-w 6. C-x o C-y RET Now place the mouse pointer over the query in the sqli buffer. The input is highlighted with a green background. This is so slow to draw that you can see it being painted line by line. If you type in the buffer with the pointer over the text, it erases and redraws the highlight with every key press. It's really terrible, but it might be beyond the scope of this specific issue. - Ian From marc_schwartz@me.com Mon May 11 19:42:01 2009 Received: (at 2056) by emacsbugs.donarmstrong.com; 12 May 2009 02:42:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_1,MURPHY_WRONG_WORD2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4C2fwdR032310 for <2056@emacsbugs.donarmstrong.com>; Mon, 11 May 2009 19:41:59 -0700 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.100] (c-75-73-93-126.hsd1.mn.comcast.net [75.73.93.126]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KJI00D0XFHSJ420@asmtp024.mac.com> for 2056@emacsbugs.donarmstrong.com; Mon, 11 May 2009 19:41:53 -0700 (PDT) Message-id: <0941AF04-D179-4244-A5D1-8488E4B13D7B@me.com> From: Marc Schwartz To: 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance Date: Mon, 11 May 2009 21:41:51 -0500 X-Mailer: Apple Mail (2.930.4) 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. From rgm@gnu.org Fri Aug 28 11:28:18 2009 Received: (at control) by emacsbugs.donarmstrong.com; 28 Aug 2009 18:28:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7SISGOP012438 for ; Fri, 28 Aug 2009 11:28:18 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Mh6BM-0004Jn-FJ; Fri, 28 Aug 2009 14:28:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19096.8640.400340.262357@fencepost.gnu.org> Date: Fri, 28 Aug 2009 14:28:16 -0400 From: Glenn Morris To: control Subject: control merge 4269 4242 forcemerge 2056 4273 From rgm@gnu.org Sun Dec 6 22:44:57 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Dec 2009 06:44:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB76iuEk018122 for ; Sun, 6 Dec 2009 22:44:57 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NHXL4-0000p9-Hw; Mon, 07 Dec 2009 01:44:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19228.42086.490010.375607@fencepost.gnu.org> Date: Mon, 7 Dec 2009 01:44:54 -0500 From: Glenn Morris To: control Subject: control reassign 5120 notemacs forcemerge 2056 5133 reassign 5132 emacs,ns severity 5139 wishlist reassign 5137 spam severity 5136 wishlist tags 5099 moreinfo From rgm@gnu.org Tue Dec 8 12:13:39 2009 Received: (at control) by emacsbugs.donarmstrong.com; 8 Dec 2009 20:13:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.1 required=4.0 tests=AWL,ONEWORD,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8KDcSx030701 for ; Tue, 8 Dec 2009 12:13:39 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NI6RF-0006Yn-H2; Tue, 08 Dec 2009 15:13:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19230.45937.490991.898367@fencepost.gnu.org> Date: Tue, 8 Dec 2009 15:13:37 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: Y4QKgxa\,`$Eb~W}Nu=M(CUc*m,PWYCAjpY.dJP{Sg|Ngd`|=T-X2-1=sD=Fz11){F?z!4 X-Debbugs-No-Ack: yes unmerge 2503 reassign 2503 emacs,w32 reassign 2056 emacs,ns reassign 5155 spam From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 02 20:11:21 2010 Received: (at control) by debbugs.gnu.org; 3 Apr 2010 00:11:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxqxN-0001ly-GD for submit@debbugs.gnu.org; Fri, 02 Apr 2010 20:11:21 -0400 Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxqxM-0001lr-NX for control@debbugs.gnu.org; Fri, 02 Apr 2010 20:11:20 -0400 Received: from furry (dhcp128036014175.central.yale.edu [128.36.14.175]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o330BHiS002290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 2 Apr 2010 20:11:17 -0400 Received: by furry (Postfix, from userid 1000) id 5FDEBC055; Fri, 2 Apr 2010 20:11:17 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 5754 serious Date: Fri, 02 Apr 2010 20:11:17 -0400 Message-ID: <87zl1ltmxm.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) severity 5754 serious severity 2056 important severity 2503 important severity 3347 important thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 03 03:20:04 2012 Received: (at control) by debbugs.gnu.org; 3 Aug 2012 07:20:04 +0000 Received: from localhost ([127.0.0.1]:58058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxCB1-0006e3-FW for submit@debbugs.gnu.org; Fri, 03 Aug 2012 03:20:04 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34573) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxCAy-0006db-Sc for control@debbugs.gnu.org; Fri, 03 Aug 2012 03:20:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SxC3d-0007WI-VU for control@debbugs.gnu.org; Fri, 03 Aug 2012 03:12:26 -0400 Date: Fri, 03 Aug 2012 03:12:25 -0400 Message-Id: Subject: control message for bug 12127 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forcemerge 2056 12127 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 21 21:01:06 2012 Received: (at 2056) by debbugs.gnu.org; 22 Dec 2012 02:01:06 +0000 Received: from localhost ([127.0.0.1]:54774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmEOg-0007Wt-7a for submit@debbugs.gnu.org; Fri, 21 Dec 2012 21:01:06 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:42698) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TmEOc-0007Wk-QJ for 2056@debbugs.gnu.org; Fri, 21 Dec 2012 21:01:04 -0500 Received: by mail-pa0-f42.google.com with SMTP id rl6so3154875pac.15 for <2056@debbugs.gnu.org>; Fri, 21 Dec 2012 18:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=Qw1HpMX2KOGVCb/i0Jn+1GM3CU87XEwFrTAPQU2PX2I=; b=0wSvAgkdsLozmsV8IQmCJ1uvGHQyaEqU6xiExRaZ/z7AHHRJ65o35R95ZIslWT0nYi c5Yza0tj+qKuP5iQAeMXl04Y6NtxRpUU5g/Guh5Mgh5gmba5yffMUMWbIPqfTDq4US0E s+2qpFFP3c5FZ8lCvBN0F/9fAKnY0EAkxwrrgSuPCPQ6RXQxb3eBfDR82HBNNkuZfmjW U5c1UhjqcBQrZtMUG4Wetx17V53hnBCNFq4/EKPrtBRL5VyaS1Nv+EW6IS2QO7o7kPB1 I+sU+pn9EoZhKvJn9D+tec//T1/UFWOFS/360jRTEXIygib9+tNMHj+H9ABr323emYAZ F+Wg== X-Received: by 10.66.75.162 with SMTP id d2mr41891018paw.27.1356141645661; Fri, 21 Dec 2012 18:00:45 -0800 (PST) Received: from ulysses (cm107.delta179.maxonline.com.sg. [59.189.179.107]) by mx.google.com with ESMTPS id gu5sm7925584pbc.10.2012.12.21.18.00.42 (version=SSLv3 cipher=OTHER); Fri, 21 Dec 2012 18:00:44 -0800 (PST) From: Chong Yidong To: 2056@debbugs.gnu.org Subject: Re: bug#2056: 23.0.60; Enabling flyspell degrades performance References: Date: Sat, 22 Dec 2012 10:00:40 +0800 In-Reply-To: (Ian Eure's message of "Sun, 25 Jan 2009 11:08:14 -0800") Message-ID: <87fw2yx2uv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 2056 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Note for the bug tracker: a few months back, Jan did a change to the NS event loop which improves the speed by 2x: http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00531.html If an OS X user can check whether the speed is now tolerable for normal editing, we could close this bug or reduce its severity. From unknown Sat Jun 21 10:40:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Mar 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator