all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Eure <ian@digg.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 2056@emacsbugs.donarmstrong.com,
	Adrian Robert <Adrian.B.Robert@gmail.com>,
	Dan Nicolaescu <dann@ics.uci.edu>, Leo <sdl.web@gmail.com>
Subject: bug#2056: 23.0.60; Enabling flyspell degrades performance
Date: Fri, 17 Apr 2009 15:42:07 -0700	[thread overview]
Message-ID: <FFF00C40-9208-4591-9B37-7CEC5B16C67A@digg.com> (raw)
In-Reply-To: <87hc0oig4p.fsf@cyd.mit.edu>

On Apr 16, 2009, at 11:54 AM, Chong Yidong wrote:

> Dan Nicolaescu <dann@ics.uci.edu> 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






  reply	other threads:[~2009-04-17 22:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 18:54 bug#2056: 23.0.60; Enabling flyspell degrades performance Chong Yidong
2009-04-17 22:42 ` Ian Eure [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-12  2:41 Marc Schwartz
2009-04-16 18:07 Chong Yidong
     [not found] <mailman.5279.1239667439.31690.bug-gnu-emacs@gnu.org>
2009-04-14  4:34 ` Miles Bader
2009-04-14  5:02   ` Leo
2009-04-14  7:10     ` Eli Zaretskii
2009-04-14 22:21       ` Leo
2009-04-13 23:48 Leo
2009-04-14  7:09 ` Eli Zaretskii
2009-04-14 16:28   ` Glenn Morris
2009-04-14 17:09     ` Stefan Monnier
2009-04-14 17:47       ` Dan Nicolaescu
2009-01-25 19:08 Ian Eure
2009-01-30 12:11 ` Agustin Martin
2009-03-26 21:22   ` Ian Eure
2012-12-22  2:00 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FFF00C40-9208-4591-9B37-7CEC5B16C67A@digg.com \
    --to=ian@digg.com \
    --cc=2056@emacsbugs.donarmstrong.com \
    --cc=Adrian.B.Robert@gmail.com \
    --cc=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.