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.bugs Subject: bug#62975: 29.0.90; Forking processes on macOS has become very slow in Emacs 29 Date: Sat, 22 Apr 2023 10:53:17 +0300 Message-ID: <837cu42w0i.fsf@gnu.org> References: <83sfcu4bzy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: johnw@gnu.org, 62975@debbugs.gnu.org To: "M. Ian Graham" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 22 09:54:21 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 1pq84b-0007Wx-5m for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Apr 2023 09:54:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pq84P-0001WX-Im; Sat, 22 Apr 2023 03:54:09 -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 1pq84L-0001WB-0w for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:54:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pq84I-0004dm-OI for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:54:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pq84I-0006wG-4O for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2023 03:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2023 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62975 X-GNU-PR-Package: emacs Original-Received: via spool by 62975-submit@debbugs.gnu.org id=B62975.168214998826604 (code B ref 62975); Sat, 22 Apr 2023 07:54:02 +0000 Original-Received: (at 62975) by debbugs.gnu.org; 22 Apr 2023 07:53:08 +0000 Original-Received: from localhost ([127.0.0.1]:41614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq83P-0006v0-PL for submit@debbugs.gnu.org; Sat, 22 Apr 2023 03:53:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pq83N-0006uV-J0 for 62975@debbugs.gnu.org; Sat, 22 Apr 2023 03:53:05 -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 1pq83H-0004Xr-O8; Sat, 22 Apr 2023 03:52:59 -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=z/+yMUkZQ4x2Lt/BhMkkf23sZaSPOOUkGJMDHuXDmGI=; b=oexUt65plwFa kFKAE3W0CfLG9JyuI16VPvUs1xcoFmbMCf1l0nOAGdi5NRSKbcM5FmwaInrrbVjA0VXU4nCsURGNP PNxGB3GaQ7gAN6dcfamnD+/GmHJx5oiddDeY+b9CgkCD5uwaTGapI46W1SN/nKztpd6vy+Bd52xpD Anw+XnjKSwhcjoOx5zb+k3Dd5KIbI8Ex/eRhY1qrugsuRZfCSro/DsYS1xkowEa572dN5fSdcdJQq DcF0L3J81Bn/KVf3D49LU8xVnNQBEaEu8TgR1rmeuE7+g5SbOg8/Hu4zGXbgj7G7601qG56hi8PiR KiW/Ze1NbX7+zfRQF5KeFw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pq83H-0001R4-7T; Sat, 22 Apr 2023 03:52:59 -0400 In-Reply-To: (hello+emacs@miangraham.com) 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:260435 Archived-At: > Date: Sat, 22 Apr 2023 07:06:17 +0000 > From: "M. Ian Graham" > > > Can someone else who uses Emacs 29 on macOS reproduce this regression > > in performance relative to Emacs 28? > > I've observed the same general trend at the same general time but had trouble getting a clear handle on the difference. > > Vague personal observations: I've noticed slowdown on macos (x86) but not linux in recent months, but in addition to moving emacs versions from v28 to master to v29 I've also changed installation methods from homebrew to nix+home-manager so that's a massive confounder. > > Large loads of things like my org config, elfeed or magit seem sluggish now (often multiple seconds) where they were snappy before (sub-second), and my impression has been that either forking or I/O is much slower but I haven't done much narrowing. I'm unsure at present whether my own observations are due to emacs versions or nix/build/installation differences. > > On magit specifically, I've followed the magit manual's advice re: the magit executable affecting perf (https://magit.vc/manual/magit/MacOS-Performance.html) but not seen significant changes there. > > I just attempted to reproduce some difference via emacs -Q and a simple recipe, but haven't easily been able to see a signal. Below are my results for v28 vs v29, both installed via nix. I'm also slowly trying other installation methods with the same recipe to see if anything jumps out. > > So far, v28 feels plenty slow too. Thanks. To be useful, these observations should include invocation of other programs, not just of Git.