From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#66288: 29.1; Performance regression using pipe for subprocess Date: Tue, 3 Oct 2023 20:42:20 +0300 Message-ID: <278d63e7-c624-4759-2c25-283e2ee60c9a@gutov.dev> References: <83ttra91nu.fsf@gnu.org> <63df0312-f2e0-49cd-8536-f886d841e88e@chris-hanson.org> <83edid8vmx.fsf@gnu.org> <83bkdh8u2k.fsf@gnu.org> <6d2e1bab-89e0-57cf-598c-96f0e4179428@gutov.dev> <786d8b73-dc9f-42ec-b5ed-4cae99ed5567@chris-hanson.org> <83h6n86x8r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: gerd.moellmann@gmail.com, 66288@debbugs.gnu.org To: Eli Zaretskii , Chris Hanson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 03 19:43:56 2023 Return-path: Envelope-to: geb-bug-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 1qnjR5-0000PT-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Oct 2023 19:43:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnjPz-00087z-5F; Tue, 03 Oct 2023 13:42:47 -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 1qnjPx-00085N-Aa for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 13:42:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnjPw-0001F5-UZ for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 13:42:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnjQD-0000Ux-WD for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 13:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Oct 2023 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66288 X-GNU-PR-Package: emacs Original-Received: via spool by 66288-submit@debbugs.gnu.org id=B66288.16963549681891 (code B ref 66288); Tue, 03 Oct 2023 17:43:01 +0000 Original-Received: (at 66288) by debbugs.gnu.org; 3 Oct 2023 17:42:48 +0000 Original-Received: from localhost ([127.0.0.1]:40660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnjQ0-0000UR-2p for submit@debbugs.gnu.org; Tue, 03 Oct 2023 13:42:48 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnjPz-0000UE-97 for 66288@debbugs.gnu.org; Tue, 03 Oct 2023 13:42:47 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4189F5C039E; Tue, 3 Oct 2023 13:42:24 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 03 Oct 2023 13:42:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1696354944; x=1696441344; bh=LHM22s0DskeSraS2wrIcAggYBtnhGikjxw1 iBKhIlAc=; b=TAYDjgfOmhA6ERF/v/++sTM9Jy5bD8T09roKPbACWKoLvFwL4bZ 274ppy2BHIpVzIO5jmIsj9ctl0zFAQqB6pfWLX/KaTOFpfYNyiwhsgkt60dmy3CO 8iiFddCo/1bf4xoVMy3EJj+RhKU6jFY5rtxckzcdCzvEMjJ3h+ALe/uHkpMVCaK1 K9reJ/pSJ3k81xIlmbeBbVfMlOIqAMzVDnGpNyZl2pHVRkHHeqkI1Bir6hCMfE4u 5t7z1ogs4QQKrtUYFejjtJEfYpynK7FvuLhFblfpKMghbW0Sye5I4GNvIb/P2SV0 lVQIPPsdodKtrgLJkbNuKrYwdPw6FueSu3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1696354944; x=1696441344; bh=LHM22s0DskeSraS2wrIcAggYBtnhGikjxw1 iBKhIlAc=; b=Se2eg7ud24NkXoT+QpGjsip7DyZRcY53NHPJG/RTDf05MeG+aSh wwJlKkvi0bDwQB/L7qxYKTASBqp9ENyK90gdzn8GWxU9HPE5U38LIux3jqzgmtKo kQL5VQsJREBX5Ejf123961SrmSYq46hzdOZjJRmmHNzBKaKvaEykNJBayB/TsZ9r BgMJSiPn+TilCqgvFWAPWqBTWoOd/l6ojHP7THp2U11nZYh9ucvw2JnMBKwACmjt AF43bVZ9ZXW5omxuJnIDE+GLz0mF6ON4uqtdOkCvGt6Oswd/r7RHbUOi66+uUEqr Mow0pEh+xYE21RDxObZD/0wlso546PUScow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeejgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Oct 2023 13:42:22 -0400 (EDT) Content-Language: en-US In-Reply-To: <83h6n86x8r.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271721 Archived-At: On 03/10/2023 09:22, Eli Zaretskii wrote: > I think at this point, since none of the initial guesses seems to be > correct, running your recipe under perf and looking at the differences > would be our best bet? That, and bisecting the Git repository. I would start with our native profiler (M-x profiler-start ... M-x profiler-report). It's a bit easier to use and interpret. But if doesn't show anything conclusive, then perf is indeed the next step.