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#67672: EMACS - Slow opening files Date: Mon, 11 Dec 2023 19:53:44 +0200 Message-ID: <83bkawvd5j.fsf@gnu.org> References: <83o7f2343c.fsf@gnu.org> <83ttot28oz.fsf@gnu.org> <83r0jx27ft.fsf@gnu.org> <834jgrzve1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67672@debbugs.gnu.org, schand@cooley.com To: "Moore, Rider" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 11 18:55:04 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 1rCkUh-000AJz-JV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Dec 2023 18:55:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCkUS-0002Sb-Bo; Mon, 11 Dec 2023 12:54:48 -0500 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 1rCkUR-0002Ln-KB for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 12:54:47 -0500 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 1rCkUR-00017f-BG for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 12:54:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCkUf-0002zQ-Qs for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2023 12:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Dec 2023 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67672 X-GNU-PR-Package: emacs Original-Received: via spool by 67672-submit@debbugs.gnu.org id=B67672.170231726011434 (code B ref 67672); Mon, 11 Dec 2023 17:55:01 +0000 Original-Received: (at 67672) by debbugs.gnu.org; 11 Dec 2023 17:54:20 +0000 Original-Received: from localhost ([127.0.0.1]:54587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCkU0-0002yL-B4 for submit@debbugs.gnu.org; Mon, 11 Dec 2023 12:54:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCkTy-0002y8-Aq for 67672@debbugs.gnu.org; Mon, 11 Dec 2023 12:54:19 -0500 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 1rCkTd-0000wV-I0; Mon, 11 Dec 2023 12:53:57 -0500 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=Dn5768wZr+1fESL/gccPZ5Z5cC8zmdbnKeEzDHJQymI=; b=gLgullAyoZl5 jL0C1frMYKCpdT15IlNX/rh46Oa6RDQvuHU3j1Ebim5jf6sCtkMO7I1jDsGmGXG2my7VoChIzBSMF skFgn0PIz8VIOygy0Pm/7v6QN6AhWkJzR9YKJXi1ENYSRfwy/nj82HLFDiIzhBQU42sYB2X//9OUO 34CsfEKCj2oLAVmrhREn7vWpo4Xzfhtkquk6I2Nmtwjirrhr6gKa5o7k4Urb7Oa94MNSvL8i0Up65 sBwKEU07afPHoccga4q4DReJ7TnuPWvS+ZJsu3oy0MtHfeCPvFCaESlG1OjLMuT1UyXZ211Dkupiy QhLNb1kZh7o2+Ylyj7tRvQ==; In-Reply-To: (rmoore@cooley.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:276001 Archived-At: > From: "Moore, Rider" > CC: "Chand, Suresh" , > "67672@debbugs.gnu.org" > <67672@debbugs.gnu.org> > Date: Mon, 11 Dec 2023 17:16:47 +0000 > mdeoeh: 9337e75e-fb2e-4aff-bbe4-2aaff68f5e4d > mde-o-pchanged: 12/11/2023 9:15:50 AM > > Eli, > > I believe this happens with every text-based file and even when Emacs is opened without a specific file involved. If so, then your profile is not informative enough, since it seems to say that most of the time is taken by Python-related processing of the file's contents. I honestly don't know how to make any progress here. We must understand what takes the time in your case. Maybe try running that command in Emacs under 'perf' or something, and then post the profile here.