all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Zack Stackson <zack.stackson@gmail.com>
Cc: 15390@debbugs.gnu.org
Subject: bug#15390: 24.3; scrolling in emacs,w32 uses 100% cpu
Date: Mon, 23 Sep 2013 10:07:06 +0300	[thread overview]
Message-ID: <8361tsj9t1.fsf@gnu.org> (raw)
In-Reply-To: <CAE6UpPTJv4CqkQNPEzVyoj5XvHi8SNzsZ5111HihX+i396ySug@mail.gmail.com>

> Date: Mon, 23 Sep 2013 00:32:48 -0500
> From: Zack Stackson <zack.stackson@gmail.com>
> Cc: 15390@debbugs.gnu.org
> 
> On Thu, Sep 19, 2013 at 2:51 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Or are you are saying that the performance problems are only
> > significant in a full-screen frame, and are imperceptible in the frame
> > of the size created by "emacs -Q"?  In that case, let's talk _only_
> > about maximized frames.
> 
> The slowness is not noticeable at the default frame size, although
> even at the default frame size Emacs 24 uses much more cpu to page up
> than Emacs 22.

I explained why CPU usage is higher ion Emacs 24: it does more work
during redisplay to support advanced features.

> > Emacs 23 started using the Uniscribe font back-end.  So please try
> > this:
> >
> >   emacs -Q -xrm Emacs.fontBackend:gdi
> >
> > and see if it is much faster with the same frame geometry and font
> > settings, in Emacs 24.
> 
> After starting with this, how do I tell if the -xrm option is in effect?

It is in effect all the time in that session.

> I don't see any speed difference.

Then the font back-end is not a factor in this.

> The problem is worst when starting at the end of the file and doing
> page up from there, even after visiting the entire file and starting
> over at the end, page up starting at the end causes rendering to stop
> until beginning of file is reached or I stop holding the page up key
> and wait.

Scrolling back is always more CPU-intensive than scrolling forward,
due to the peculiarities of the Emacs display engine implementation.

Anyway, I don't see what else I can do with this bug report.
Scrolling very large windows one line at a time is expensive, but I
cannot see such a disastrous slowdown on my machine, which is very
similar to yours.  There's some work in the development code to speed
up redisplay, maybe it will improve your experience (perhaps try the
latest development snapshot).

Sorry.





  reply	other threads:[~2013-09-23  7:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 18:41 bug#15390: 24.3; scrolling in emacs,w32 uses 100% cpu Zack Stackson
2013-09-16  6:41 ` Eli Zaretskii
2013-09-16  7:13   ` Eli Zaretskii
2013-09-19  3:53   ` Zack Stackson
2013-09-19  7:51     ` Eli Zaretskii
2013-09-23  5:32       ` Zack Stackson
2013-09-23  7:07         ` Eli Zaretskii [this message]
2019-09-26 12:38 ` Stefan Kangas

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=8361tsj9t1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15390@debbugs.gnu.org \
    --cc=zack.stackson@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.