unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Bryan Bishop <bryanjbishop@yahoo.com>
Cc: 14051@debbugs.gnu.org
Subject: bug#14051: Fwd: 24.3; Slow scrolling in term modes
Date: Mon, 30 Sep 2019 18:19:25 +0200	[thread overview]
Message-ID: <CADwFkm=Ui-xe8f2MjcZwzpFNGauh_a7xv7WfUE3+wp2Lm34U2w@mail.gmail.com> (raw)
In-Reply-To: <CAPAn_E3kH=32mpazeaHsOve-SM0BbAa8rTb2RD=EOhiUA3VfDQ@mail.gmail.com>

Bryan Bishop <bryanjbishop@yahoo.com> writes:

> The window scrolling performance ("multi-term" and plain old "term" in
> this case) in emacs 24 is terrible after a few thousand lines of
> scrollback, slowly getting worse and worse and after about 5000 lines of
> scrollback takes about a 1/2 second to render the next chunk of text.
>
> How I can replicate the problem:
>
> emacs -Q
> M-x term
> find /
>
> (The output of the find command whizzes by, and then starts to get jerky
> and slow when scrollback history is > 2000 lines)
>
> I've installed the stock emacs24 from linux mint/ubuntu packages
> (24.1.1), and a custom
> compiled version of 24.3.1 without any special tricks and a compiler
> option of -O3 and the term mode behavior is all the same, and this
> behavior even shows up with "emacs -Q".
>
> It seems the same with multi-term, ansi-term, nterm, it doesn't matter.
> This does work very fast in eshell and in terminal-emulator mode.
> What is weird is ALL the terminal modes in Emacs 23 seem to work
> great, but not Emacs 24.
>
> Any ideas how I can make this mode faster?  My suspicion was around
> font-lock-mode but I've turned that off with no effect.  The fact that
> it is still slow without my init file using -Q and seems to be really
> fast in Emacs 23 has me stumped.

Yes.  Both term and ansi-term and significantly slower than eshell when
running "find /".

I had a suspicion that it was because of term-buffer-maximum-size, but
setting this to 0 made no difference.

(BTW, maybe the default term-buffer-maximum-size should be raised from
the default 2048?  For example to (* 4 2048).)

Best regards,
Stefan Kangas





  reply	other threads:[~2019-09-30 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPAn_E3hDyk=O+Bwi3mLbCfXkUaxTHXW35ihGgTUK-oAZqOpbw@mail.gmail.com>
2013-03-25  4:42 ` bug#14051: Fwd: 24.3; Slow scrolling in term modes Bryan Bishop
2019-09-30 16:19   ` Stefan Kangas [this message]
2019-09-30 16:44     ` Eli Zaretskii
2019-09-30 21:35     ` Phil Sainty
2021-08-23  1:06   ` Lars Ingebrigtsen
2021-09-21  5:40     ` Lars Ingebrigtsen

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='CADwFkm=Ui-xe8f2MjcZwzpFNGauh_a7xv7WfUE3+wp2Lm34U2w@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=14051@debbugs.gnu.org \
    --cc=bryanjbishop@yahoo.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).