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#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers Date: Sun, 8 Oct 2023 15:28:02 +0300 Message-ID: References: <878r919qfh.fsf@localhost> <834jjm749q.fsf@gnu.org> <87cyyawd1a.fsf@localhost> <83pm2a5k85.fsf@gnu.org> <87wmwh2tae.fsf@localhost> <83zg1d468w.fsf@gnu.org> <87bkdr2651.fsf@localhost> <87pm2584oz.fsf@localhost> <83cyy11ln1.fsf@gnu.org> <87lecp84mf.fsf@localhost> <83ttrdx8j9.fsf@gnu.org> <87a5su261p.fsf@localhost> <838r8e24yy.fsf@gnu.org> <87y1gezspg.fsf@localhost> <834jj21z05.fsf@gnu.org> <87il7izo4l.fsf@localhost> <831qe61xrh.fsf@gnu.org> <87cyxqzmhh.fsf@localhost> <83zg0uzlgw.fsf@gnu.org> <87v8bhxzcu.fsf@localhost> <87o7h9pd9b.fsf@localhost> <83jzrxxrro.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="37890"; 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: 66117@debbugs.gnu.org To: Eli Zaretskii , Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 08 14:29:01 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 1qpSu4-0009ag-FP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Oct 2023 14:29:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpStn-0002xZ-Ak; Sun, 08 Oct 2023 08:28:43 -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 1qpStm-0002xP-26 for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 08:28:42 -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 1qpStl-00080O-Pr for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 08:28:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpSu5-0003fE-O6 for bug-gnu-emacs@gnu.org; Sun, 08 Oct 2023 08:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Oct 2023 12:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66117 X-GNU-PR-Package: emacs Original-Received: via spool by 66117-submit@debbugs.gnu.org id=B66117.169676811314044 (code B ref 66117); Sun, 08 Oct 2023 12:29:01 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 8 Oct 2023 12:28:33 +0000 Original-Received: from localhost ([127.0.0.1]:56474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpStc-0003eS-W9 for submit@debbugs.gnu.org; Sun, 08 Oct 2023 08:28:33 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpStb-0003eE-5w for 66117@debbugs.gnu.org; Sun, 08 Oct 2023 08:28:31 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 00D8A5C022F; Sun, 8 Oct 2023 08:28:06 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 08 Oct 2023 08:28:05 -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= 1696768085; x=1696854485; bh=GHHah08YC6YFAAw76y/VrcGdezmYFR+Zoo9 miq5uUbQ=; b=FyVM4OWlDiSayVp8FpXbIdhQOBaz5+1UJdYHMftWMGTL1vAFwGN cJJT4WQfa7NJAu+t+m5sCETS5t+oXLIu8ScjO+xoA3EvT98kuuO7zms2QoGa2yms Cln/nbkl4vvvqTmFama3pPvq/3EqZf3y5IT5+bQ7rw+Efp1GGsVKP/WRjVW9m+Jk /pIhQAZgbSMs10HsOiegUI/bL5vJtqkSnqlUFdC/2KsITxlN8Dtj1tXLtwLDaAvH ma2JpwhCCiYxoXIBWxG/QkUE6PutsMITPx6vJIU7vAhxN3gwb4DxaJrfuLrTMJFN bswHq7gr1uiC1T6cieHUBMnFymAutIBGmZg== 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= 1696768085; x=1696854485; bh=GHHah08YC6YFAAw76y/VrcGdezmYFR+Zoo9 miq5uUbQ=; b=qlcL4nM3koqbLdQRvrXB+z2T7Ua9pIJxHi24WlxNp3zg1KRPVkU 1btYD1n6lrC1KlLiZA230FKrFY+GCpwXhUBt5hj2Ds9iF8AkpbaPdmMyML1ylO5m 9TlkfC4BNQVc0n/pGL4/ZoxokHL7rTKCV8FHiTudAtAKE0mNl6PBNrF890W3ZsWL 1r4SHwJu78KkzUdus8cpAAMDI3FVl0oYC5QmlFCAr5VejwsqT0o7qHws5Rwj95ZK rjYsZp9gxlzcjixWDT0H4M7ne20qJIqXJbenHz9HC66h7k+pffrogIJrmElMOGsO ZiEKge4BCOLXjD7ObwTAfN+KGwZrvIOR8GQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrhedugdehvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 8 Oct 2023 08:28:04 -0400 (EDT) Content-Language: en-US In-Reply-To: <83jzrxxrro.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:272091 Archived-At: On 08/10/2023 14:44, Eli Zaretskii wrote: >> From: Ihor Radchenko >> Cc: Eli Zaretskii,66117@debbugs.gnu.org >> Date: Sun, 08 Oct 2023 11:25:20 +0000 >> >>> If file-attributes is the main source of consing, it could be the reason >>> for the line >>> >>> 924 36% Automatic GC >> No, the main source of consing, according to the memory profiler, is >> `inhibit-local-variables-p': > The so-called "memory" profiler doesn't profile memory usage... It does seem to be recording allocations (in push_handler_nosignal). Are you making the point that it doesn't record the consing values (i.e. the real numbers that affect the time spent in GC)?