From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Change in vc-git ls-files-unknown makes emacs hang Date: Fri, 20 Dec 2019 18:36:28 +0300 Message-ID: References: <08cfaf0c-215f-1b02-37f8-2b3886a319c7@yandex.ru> <3ffa93fe-06af-2920-812c-4a67367f2933@yandex.ru> <83fthf1mff.fsf@gnu.org> <3df8e670-91f7-0f56-927d-8c2063b33fe1@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="46650"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: Eli Zaretskii , monnier@iro.umontreal.ca, andreyk.mad@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 20 16:37:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iiKL3-000Bz1-JK for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2019 16:37:13 +0100 Original-Received: from localhost ([::1]:58042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiKL2-0007y2-8w for ged-emacs-devel@m.gmane.org; Fri, 20 Dec 2019 10:37:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43337) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiKKV-0007Wo-3J for emacs-devel@gnu.org; Fri, 20 Dec 2019 10:36:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiKKU-0004Zj-32 for emacs-devel@gnu.org; Fri, 20 Dec 2019 10:36:39 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:34343) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiKKS-0004Oj-7S; Fri, 20 Dec 2019 10:36:36 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id A879A5E5; Fri, 20 Dec 2019 10:36:31 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 20 Dec 2019 10:36:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=8Wwa0WA7Espi9qCJV77A+oIAjm 6fnVeT9kRZl3SYRAI=; b=DPd+v7ZjPYEHzsneF8xzSUtHy274ihEBS/jUB6rQ7o 0i0WvI5w9Za4E9Id2c3XWCUkeJyBFz4v+QoyXNJUacIkm11/IAXmqFvxm7BHxOM7 fYDvwQdnHPHzdZEBZHeeDvWkl4aHTA9JlQVxChm+SUKjJI/iyXou0Su2SMOMpGop 8NoKoo2Vlyw2lAxCVsxYzVAX1C1DLLnNG5Fyk0kRVqjPAxnxjAt1HLknDGqDJtm8 D5hoKCcQVmi0HpGPiku469QR31eLcTDhKMds7B71Mt7bQHfbAaNjrl4QUMHe1Q+V Ggz2D3uaxsFpjSmROyxTAjubQQUp7FnOFDpeMDNEhWGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=8Wwa0W A7Espi9qCJV77A+oIAjm6fnVeT9kRZl3SYRAI=; b=ryRtz9F1oeIN5ZXDG5NV6a 2ddNTpiK32nwNGly8ssMt2WOIzXz3Axd+BG9B6VblXEccL1QzvS2a5+YkPUOtr8X cr1Dwguomo62JnKKbFnKg8XsyQ6hLlYt6OTVWakbln6HUJufC6KsGaxUZevwI9cw AVNPzmiy7xut5hZtF7CtlPmH98M16mihu1aR6PdOKl0soeFPd1TAJV5uhYfkOUhv GxVFBBSg5HCe9ALFug/dNZZhr+UJ36gFHd0IO0Bra1CqNQJpgXy/h1H3BU9me2yG I8RfLAh3zZVTRz2B6RD2DOGn+M80AR2xeLt/Odf/H4O9+/29Debw0YDlf4pSiDNw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddufedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecukfhppe dukeehrdefvddrieekrddufeehnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgs ihhnsehfrghsthhmrghilhdrfhhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from fgunbin.local (unknown [185.32.68.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 20913306030B; Fri, 20 Dec 2019 10:36:29 -0500 (EST) In-Reply-To: <3df8e670-91f7-0f56-927d-8c2063b33fe1@yandex.ru> (Dmitry Gutov's message of "Fri, 20 Dec 2019 16:13:59 +0200") Mail-Followup-To: Dmitry Gutov , Eli Zaretskii , emacs-devel@gnu.org, andreyk.mad@gmail.com, monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243509 Archived-At: Dmitry, thanks, it helps - no freezes and no visible delays now, at least not yet. On 20/12/2019 16:13 +0200, Dmitry Gutov wrote: > Thank you. It doesn't exactly answer my question about desktop-read (did > you really have an old VC-Dir buffer in that saved session?), but it > shows one bottleneck. One that is even prominently decorated with an old > comment saying "this is VERY inefficient". :-) When I was trying to generate trace, I started & killed (-s USR2) emacs several times, and saw that desktop had several buffers which could trigger the problem. Filipp