all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Performance issues with long lines in shell mode
Date: Sun, 10 May 2020 09:26:41 +0200	[thread overview]
Message-ID: <f338aee2-d90b-96e0-f03e-1833cbb6f616@easy-emacs.de> (raw)
In-Reply-To: <CAA5t8VqhExRyg26VUEDH6yCcxki4Pzzn-jh7iDuenABcYXG8aA@mail.gmail.com>


On 07.05.20 18:40, David Karr wrote:
> I'm using Cygwin Emacs v26.3.
>
> I use shell buffers in Emacs very often. Some of the command lines I run
> end up producing output with a large number of lines, and sometimes with
> very long lines. If the output is a large number of lines, it doesn't
> present any particular problem.  However, if it ends up producing very long
> lines (equivalent of a hundred lines or more), I find that it gets very
> slow. I generally don't even keep my cursor at the end of the output, so
> it's adding output that I'm not even seeing. However, I can still tell that
> it's running slowly. If I occasionally jump to the end of the output, I see
> it sending characters in bursts, but much less than a line at a time.
>
> If I know that what I'm about to run will create long lines, I generally
> try to remember to pipe it directly to a file and then open that file. That
> goes much faster than letting it output to the shell.
>
> Is there some mitigation I can configure that will help with this?

AFAIU there might be a solution avoiding interactive use of shell, 
sending stuff to some shell-process buffer instead while not displaying 
the latter.

Considering the display-engine possibly causing the slowness.

May you provide  an example-case  suitable for benchmarking?

Best,

Andreas




      parent reply	other threads:[~2020-05-10  7:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 16:40 Performance issues with long lines in shell mode David Karr
2020-05-07 16:56 ` Eli Zaretskii
2020-05-10  7:26 ` Andreas Röhler [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

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

  git send-email \
    --in-reply-to=f338aee2-d90b-96e0-f03e-1833cbb6f616@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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 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.