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#64735: 29.0.92; find invocations are ~15x slower because of ignores Date: Thu, 20 Jul 2023 21:24:22 +0300 Message-ID: <831qh230h5.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 64735@debbugs.gnu.org, sbaugh@janestreet.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 20 20:24:31 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 1qMYKB-0006cj-OJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jul 2023 20:24:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMYJo-0004mV-AG; Thu, 20 Jul 2023 14:24:05 -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 1qMYJn-0004mH-1t for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 14:24:03 -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 1qMYJm-0005qq-OY for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 14:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMYJm-00020p-Dl for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 14:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jul 2023 18:24: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.16898774407727 (code B ref 64735); Thu, 20 Jul 2023 18:24:02 +0000 Original-Received: (at 64735) by debbugs.gnu.org; 20 Jul 2023 18:24:00 +0000 Original-Received: from localhost ([127.0.0.1]:59848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMYJk-00020Z-4W for submit@debbugs.gnu.org; Thu, 20 Jul 2023 14:24:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMYJg-00020I-OJ for 64735@debbugs.gnu.org; Thu, 20 Jul 2023 14:23:58 -0400 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 1qMYJa-0005os-BD; Thu, 20 Jul 2023 14:23:50 -0400 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=GGMHbvHUoxTIXZqRWzh1c6/mWU+i8T1NZX8DHE1s/fU=; b=ic7upQgdezJi YVFFf4CihdqzvZqnxZ+I4KKb0zMU/KX9Vbj+O4QxxmofUfU6YtUB/kAUH3kiskrbzZbnAqTISHlk5 u0FR4I4ncSCfUKLldUpf//IsNK8dmhLLCGRTptFOLdkjNik/6lqSlK0vdbF7uVUMhSDNvAzN+BFhb //h/5RQqWdRrMmL793JUcJVTCm4DlhTyC9Um59naiD2cN0uQ64T1RXj8jiEUPfrshvWCfIQMR1FaF cYvHFzUV2NOw4QWO1FgyQ8K7/hAMvb91pepzm/wx4zup5cWGjNq/fbQZUP3y6xeD65QT9UzEZZc7O iWAjN/zmYHNvVIaVLt+Vgg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMYJZ-0003H6-Rf; Thu, 20 Jul 2023 14:23:50 -0400 In-Reply-To: <87lefapkdx.fsf@localhost> (message from Ihor Radchenko on Thu, 20 Jul 2023 17:23:22 +0000) 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:265627 Archived-At: > From: Ihor Radchenko > Cc: dmitry@gutov.dev, sbaugh@janestreet.com, 64735@debbugs.gnu.org > Date: Thu, 20 Jul 2023 17:23:22 +0000 > > Eli Zaretskii writes: > > >> I am not sure if this specific issue is important. > >> If we want to use find from Emacs, we would need to create Emacs > >> string/strings when reading the output of find anyway. > > > > So how do you explain that using Find is faster than using > > find-lisp.el? > > > > I think the answer is that using Find as a subprocess conses less. > > No. It uses less excessive regexp matching Emacs is trying to do in > file-name-handler-alist. Where do you see regexp matching in the profiles you provided?