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#64735: 29.0.92; find invocations are ~15x slower because of ignores Date: Fri, 21 Jul 2023 18:41:29 +0300 Message-ID: References: <1fd5e3ed-e1c3-5d6e-897f-1d5d55e379fa@gutov.dev> <87wmyupvlw.fsf@localhost> <5c4d9bea-3eb9-b262-138a-4ea0cb203436@gutov.dev> <87tttypp2e.fsf@localhost> <837cqu35lw.fsf@gnu.org> <87o7k6pmk3.fsf@localhost> <834jly351p.fsf@gnu.org> <87lefapkdx.fsf@localhost> <831qh230h5.fsf@gnu.org> <87wmyu8mi0.fsf@localhost> <83wmyu1l1k.fsf@gnu.org> <87ttty8l73.fsf@localhost> <6f55b301-7610-ee4a-996e-fc6a8db33c33@gutov.dev> <87y1j9l8u2.fsf@localhost> <0c6f4daf-ea8a-0636-1b51-f4640ff39834@gutov.dev> <87jzutl76e.fsf@localhost> <87h6pxl6m4.fsf@localhost> 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="31114"; 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: sbaugh@janestreet.com, Eli Zaretskii , 64735@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 17:42:19 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 1qMsGl-0007fs-GF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 17:42:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMsGa-0007Bc-1S; Fri, 21 Jul 2023 11:42:04 -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 1qMsGY-0007BK-QN for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 11:42:02 -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 1qMsGY-0008Ri-J3 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 11:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMsGY-0005XK-Eb for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64735 X-GNU-PR-Package: emacs Original-Received: via spool by 64735-submit@debbugs.gnu.org id=B64735.168995410221236 (code B ref 64735); Fri, 21 Jul 2023 15:42:02 +0000 Original-Received: (at 64735) by debbugs.gnu.org; 21 Jul 2023 15:41:42 +0000 Original-Received: from localhost ([127.0.0.1]:34556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMsGE-0005WS-FI for submit@debbugs.gnu.org; Fri, 21 Jul 2023 11:41:42 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:33213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMsGC-0005W8-C8 for 64735@debbugs.gnu.org; Fri, 21 Jul 2023 11:41:41 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id C67523200907; Fri, 21 Jul 2023 11:41:33 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 21 Jul 2023 11:41:34 -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=fm2; t= 1689954093; x=1690040493; bh=jFONDpMu3wNqG5wY5OAv/HyJvLf/5+pq9GU fg5Ufzmc=; b=Xdkl0HO15qiSXZb5smXY9MoFhAx49VszbA9RkxTOGOtPrZ1/NF2 eWHYS34uv32DjslXlEiph1ojITbh9tvja8GCoppTlFAuWrFdtdGa71HAP+xcB6Zz 6zwWBQdQLFAmRzSyf09CYyO9dNdEQs8AYfYnvwVnqfP4PfPlOEulggZcjAt5Nc+a 6Tulte7+gEVBHqBbBFpQxBmfpvxEeuNZR1Ti6xlXUly9HOs6t+a4h+g1Cy/UWgLd AaZyqR8bdgaXNhNhvq7cPvkIIiMQXDZfNrc/CFJu3va8+tGU4v8PBxBndAm+lE8y u2AUJgSvSK69QX9q5nI2ZzwIHXRxvAHTtRw== 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=fm3; t= 1689954093; x=1690040493; bh=jFONDpMu3wNqG5wY5OAv/HyJvLf/5+pq9GU fg5Ufzmc=; b=wAxetCVuQqqFPJfKlWV8TwXsWaGthLUtgGZtSVuQ44RIUJyyX3t fwFEYsTXsDelmMN2EyrQnHmE3j3U8/ZpZ5cORv/1uxnb/8bpVxqoYBC5UjWPQ9RF ru5+1CcxuY4C38ukUetxeBSH6+ph0fyfyhu/tsdC7aUmeS1Vz41KHzB3vQO8qn1S BABhcdTM4Gp4CMZJ1YnAIpe1Kr4lKE1SSNUT/VkSdqzPqrbxtkcNloDWdUwKId2N WjMj2IpcW56QZQJKllf/vX04TjGqJwhlJ3bkjgPGVvyBrC6/pjsCrm4J1nIsVY3S v3ytE8Y+Y5LUyAo8+gF1XEUrXUsS0GRmJ4Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrhedvgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Jul 2023 11:41:31 -0400 (EDT) Content-Language: en-US In-Reply-To: <87h6pxl6m4.fsf@localhost> 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:265732 Archived-At: On 21/07/2023 16:46, Ihor Radchenko wrote: > Dmitry Gutov writes: > >> On 21/07/2023 16:34, Ihor Radchenko wrote: >>> Dmitry Gutov writes: >>> >>>> On 21/07/2023 15:58, Ihor Radchenko wrote: >>>>> Dmitry Gutov writes: >>>>> >>>>>>>> Disabling file-handlers is inconceivable in Emacs. >>>>>>> Indeed. But we are talking about Emacs find vs. GNU find here. >>>>>>> In the scenarios where GNU find can be used, it is also safe to disable >>>>>>> file handlers, AFAIU. >>> So, we agree here? (I've read your reply as counter-argument to mine.) >>> >> >> We don't, IIUC. >> >> To use GNU find on a remote host, you need to have the file handlers >> enabled. > > Let me clarify then. > I was exploring the possibility to replace GNU find with > `find-lisp-find-files'. > > Locally, AFAIU, running `find-lisp-find-files' without > `file-name-handler-alist' is equivalent to running GNU find. > (That was a reply to Eli's message that we cannot disable > `file-name-handler-alist') But it's slower! At least 2x, even with file handlers disabled. According to your own measurements, with a modern SSD (not to mention all of our users with spinning media). > Although, it will likely not > be usable then - running GNU find on remote host is going to be > unbeatable compared to repetitive TRAMP queries for file listing. That's right.