unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 29 slow subprocess output when using pipe for connection
Date: Sun, 27 Aug 2023 11:35:49 +0300	[thread overview]
Message-ID: <83ttskkhlm.fsf@gnu.org> (raw)
In-Reply-To: <d9bb6eab-ba2f-477c-b45d-8ae28e72a5ed@chris-hanson.org> (message from Chris Hanson on Fri, 25 Aug 2023 23:39:23 -0400)

> Date: Fri, 25 Aug 2023 23:39:23 -0400
> From: Chris Hanson <cph@chris-hanson.org>
> 
> On Emacs 29, I've noticed when using the MIT/GNU Scheme interaction mode 
> (xscheme.el) the output is extremely slow; it was fine in Emacs 28.

Please define "extremely slow" in more quantitative terms.  E.g., can
you show a comparative benchmark between these two versions of Emacs,
so that the relative times could be assessed?

Off the top of my head, I don't think we've changed anything
significant in how subprocess output is handled, but maybe I'm
misremembering, or there's a subtle bug.

> Why is the pipe connection so slow?  Has no one noticed this because
> the default is to use ptys?

On MS-Windows, only pipes are available, so it's unlikely that any
significant slowdown could go completely unnoticed.  Unless the reason
for slow-down doesn't affect the MS-Windows build of Emacs.



  reply	other threads:[~2023-08-27  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-26  3:39 Emacs 29 slow subprocess output when using pipe for connection Chris Hanson
2023-08-27  8:35 ` Eli Zaretskii [this message]
2023-08-27  8:55   ` Eli Zaretskii

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=83ttskkhlm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
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).