GNU bug report logs - #14051
Fwd: 24.3; Slow scrolling in term modes

Previous Next

Package: emacs;

Reported by: Bryan Bishop <bryanjbishop <at> yahoo.com>

Date: Mon, 25 Mar 2013 15:00:03 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Bryan Bishop <bryanjbishop <at> yahoo.com>
Cc: 14051 <at> debbugs.gnu.org
Subject: bug#14051: Fwd: 24.3; Slow scrolling in term modes
Date: Mon, 30 Sep 2019 18:19:25 +0200
Bryan Bishop <bryanjbishop <at> 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




This bug report was last modified 3 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.