From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Emacs 29 slow subprocess output when using pipe for connection Date: Sun, 27 Aug 2023 11:35:49 +0300 Message-ID: <83ttskkhlm.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24569"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 27 10:36:51 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qaBGM-0006C2-0z for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 27 Aug 2023 10:36:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaBFt-0007pX-Bm; Sun, 27 Aug 2023 04:36:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaBFs-0007nR-4x for help-gnu-emacs@gnu.org; Sun, 27 Aug 2023 04:36:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaBFr-0004DR-Rh for help-gnu-emacs@gnu.org; Sun, 27 Aug 2023 04:36:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iEkEmXI8G994UAtHWZOz45iUYyL4h1iBDuO/Fu68mDc=; b=KcpJ4DQMKL8U StOcm4jDI5v1pajYL0XyhVFmsB/Jv+3AcLNqnmHmQlGn9oxp/hdyP//pha2d/yJszrjWQ9kycPRBR 7RNsuClz6l+aNoLneDE/l2KQh2W19aSSA11fshaKYboHA5ADCogu1ReTAb/fVrGmAh0Pd8E9v5a4A oA/JKL0UpICgXIBoGNuas5wQg9tBXvzHvwlVbaqbgUWhcunQX2K1adgop9fjiigjRmfgZC51Ex8k+ WB2oiMP10Vt5OD0baK5IRNiyLz7lLbob7LW7wfi6pjb4KHXsOnJhJWW1kpV2K7HvnmZsNkSty4G5x 2Wghm9j9zaABIyaBLPdKlw==; In-Reply-To: (message from Chris Hanson on Fri, 25 Aug 2023 23:39:23 -0400) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144975 Archived-At: > Date: Fri, 25 Aug 2023 23:39:23 -0400 > From: Chris Hanson > > 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.