unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Yates <john@yates-sheets.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: acm@muc.de, emacs-devel@gnu.org
Subject: Re: How can I predict which regions xdisp will present me for font-locking?
Date: Tue, 13 Mar 2012 15:50:31 -0400	[thread overview]
Message-ID: <CAJnXXoiwNc-3xRKhPNz5-QHxzSvnEZ4yMDzEeH13gtiZ6DT1=Q@mail.gmail.com> (raw)
In-Reply-To: <834nttya1l.fsf@gnu.org>

On Mon, Mar 12, 2012 at 2:00 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> Can you give more quantitative description of the slowdown?  E.g., how
> much time does it take to move the cursor by one character or one
> line, or to insert or delete a single character?

My work machine (4 year old technology):
o Intel Core2 Duo E8400 (Wolfdale)
  - dual core, 3GHz, 6MB shared L2, no L3
  - 8GB DDr2 via separate Northbridge chip
Barely tolerable, perceptible delay inserting characters

Home machine (3 year old technology):
o AMD Phenom II x4 945
  - quad core, 3GHz, 512KB private L2, 6 MB shared L3
  - 8GB DDR2 via low latency on-chip memory controller
Really painful, at least a second to insert a single character.

Both machines run Ubuntu, the same emacs-snapshot and the same set of
init files.  My guess is that the much larger low latency Intel L2
cache is what makes the difference.

The other thing I am noticing on both machine is that when I use
keyboard repeat to "C-n" or arrow down I get scrolling behaves akin to
an iPhone: after I release my key a large number of buffered input
events continue the scrolling.

> If you replace cc-mode Lisp files in v24 with those in v23, does the
> problem go away?

I am really not able to do so.  I do not build emacs from scratch.  I
simply run the current state of Julien Danjou's emacs-snapshot on
Ubuntu (11.04 at home, 11.10 at work).

/john



  reply	other threads:[~2012-03-13 19:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11 20:59 How can I predict which regions xdisp will present me for font-locking? Alan Mackenzie
2012-03-11 21:45 ` Eli Zaretskii
2012-03-12 17:47   ` John Yates
2012-03-12 18:00     ` Eli Zaretskii
2012-03-13 19:50       ` John Yates [this message]
2012-03-13 21:00         ` Alan Mackenzie
2012-03-13 21:18         ` Eli Zaretskii
2012-03-12 18:49     ` Alan Mackenzie
2012-03-12 19:25 ` Stefan Monnier
2012-03-13 14:05   ` Alan Mackenzie

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAJnXXoiwNc-3xRKhPNz5-QHxzSvnEZ4yMDzEeH13gtiZ6DT1=Q@mail.gmail.com' \
    --to=john@yates-sheets.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).