From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#62975: 29.0.90; Forking processes on macOS has become very slow in Emacs 29 Date: Sun, 16 Jul 2023 13:54:12 +0100 Message-ID: <878rbg81aj.fsf@idiocy.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17275"; mail-complaints-to="usenet@ciao.gmane.io" To: 62975@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 16 14:55:22 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 1qL1HW-0004Gl-DM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jul 2023 14:55:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL1HH-0002xT-0x; Sun, 16 Jul 2023 08:55:07 -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 1qL1HF-0002wy-DS for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 08:55:05 -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 1qL1HC-0002qm-4H for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 08:55:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qL1HC-0001mI-0U for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 08:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jul 2023 12:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62975 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16895120696782 (code B ref -1); Sun, 16 Jul 2023 12:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2023 12:54:29 +0000 Original-Received: from localhost ([127.0.0.1]:47037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL1Gf-0001lK-Dc for submit@debbugs.gnu.org; Sun, 16 Jul 2023 08:54:29 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:48432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL1Gc-0001l0-Fc for submit@debbugs.gnu.org; Sun, 16 Jul 2023 08:54:27 -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 1qL1GX-0002p3-29 for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 08:54:21 -0400 Original-Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2215:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qL1GV-0002gb-5y for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 08:54:20 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4R3lXP026Gz6n for ; Sun, 16 Jul 2023 12:54:13 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4R3lXN52zjzL1 for ; Sun, 16 Jul 2023 12:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1689512052; bh=RWMDKO2df17RHqgDdRVDDRsc3hHILu6phhCPszfhDwg=; h=From:To:Subject:References:Date:In-Reply-To:From; b=NEWOdeeE5FiZA17VIa3NMQK3WXekNZDCDeLKjfZWt1e5QzUhWM0QoqKaq1/8klDSm 845p7JcCVhzAgUfUUEyMPyECVx6IXxVFvyWacc1u6UQP5pw9rLI05uLnzbyUiKVE9R oYIvobt1Na251LJ33VTZyel7wfpjcAYZDFogjXYbk1AB5KgsNJ+RH54FwDEVE2k7Bj mbexLAxygZK/SsG2n/czLywg9LrHoXJ+iMiFxcoMxDHt1wkhBI4jHuvLzOER9epvkl 9y4a0ePmQMtsj8LjCtSRqUdySFCI37N06MyFeLsG2dfFlPga0dvWjJIwWRHjhto/uJ 0kkq0IGhgbkXg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qL1GO-0006rX-0o for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 13:54:12 +0100 X-Soverin-Authenticated: true In-Reply-To: (John Wiegley's message of "Thu, 20 Apr 2023 11:41:24 -0700") X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=Mfmq+bzf c=1 sm=1 tr=0 ts=64b3e874 a=ws7JD89P4LkA:10 a=SkN1uoc_w6rUZQOoJUcA:9 X-Cloudmark-Reporter: iINAtzqxKA9GF/CGc1DymlU2tiM= Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:2215:0:1; envelope-from=alan@idiocy.org; helo=dane.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:265326 Archived-At: Check you have #define HAVE_POSIX_SPAWN 1 defined in config.h. There's a much larger set of requirements to use posix_spawn at the top of callproc.c, but I don't understand them. If, for some reason, your system isn't using posix_spawn then it will be using fork (Apple removed vfork) and yes, it will be as slow as Emacs 26. -- Alan Third