unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: Alan Mackenzie <acm@muc.de>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: Is Emacs buffer scroll/redisplay slow?
Date: Mon, 20 Jan 2020 08:20:41 -0500	[thread overview]
Message-ID: <jwvzheis1yu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAFgFV9MjgCTvk25H4E+z3onebCaHjKzt-OpX+OaFzXEO4cykJw@mail.gmail.com> (Fabrice Popineau's message of "Mon, 20 Jan 2020 01:23:22 +0100")

>> If Emacs is slow in such a test, you'll notice because it will stop
>> refreshing the display at times (hoping that skipping the redisplay time
>> will help it keep up with the repeat rate).

> If I posted this, it is because looking at it, the cursor was like
> jumping from line to line, but it doesn't seem steady. Actually,
> I changed some setting to get a faster autorepeat and emacs keeps up
> when the time is down to 16s for 1000 lines, more than twice as fast.

Ah, now you're talking!
Then yes, we have a speed problem.  Usually this depends on the
minor&major modes involved, so the profile is the best way to
start digging.  Could you try and redo the profile run, but where you
maximize the proportion of "line scrolling" that takes place during the
time between `profiler-start` and `profiler-report`?


        Stefan




      reply	other threads:[~2020-01-20 13:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19  9:34 Is Emacs buffer scroll/redisplay slow? Fabrice Popineau
2020-01-19 11:51 ` Alan Mackenzie
2020-01-19 14:24   ` Fabrice Popineau
2020-01-19 15:28     ` Eli Zaretskii
2020-01-19 15:34       ` Fabrice Popineau
2020-01-19 16:02         ` Eli Zaretskii
2020-01-19 17:15           ` Fabrice Popineau
2020-01-19 22:20     ` Stefan Monnier
2020-01-20  0:23       ` Fabrice Popineau
2020-01-20 13:20         ` Stefan Monnier [this message]

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=jwvzheis1yu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@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 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).