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#50733: 28.0.1; project-find-regexp can block Emacs for a long time Date: Thu, 23 Sep 2021 09:13:33 +0300 Message-ID: <83wnn7vmya.fsf@gnu.org> References: <03aa81b5-6077-c35c-1a5f-ec4d867b59ac@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19196"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50733@debbugs.gnu.org, dgutov@yandex.ru To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 23 08:14:12 2021 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 1mTHzn-0004my-L5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 08:14:11 +0200 Original-Received: from localhost ([::1]:36116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTHzk-0002YS-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Sep 2021 02:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTHze-0002YI-6u for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 02:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTHzd-0003uT-Ur for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 02:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTHzd-00073t-Mb for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2021 02:14:01 -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, 23 Sep 2021 06:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50733 X-GNU-PR-Package: emacs Original-Received: via spool by 50733-submit@debbugs.gnu.org id=B50733.163237762227109 (code B ref 50733); Thu, 23 Sep 2021 06:14:01 +0000 Original-Received: (at 50733) by debbugs.gnu.org; 23 Sep 2021 06:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:52481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTHzK-00073B-D6 for submit@debbugs.gnu.org; Thu, 23 Sep 2021 02:13:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTHzI-00072x-F1 for 50733@debbugs.gnu.org; Thu, 23 Sep 2021 02:13:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34504) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTHzD-0003XG-40; Thu, 23 Sep 2021 02:13:35 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4812 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 1mTHzB-00085K-Tx; Thu, 23 Sep 2021 02:13:35 -0400 In-Reply-To: (bug-gnu-emacs@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" Xref: news.gmane.io gmane.emacs.bugs:215161 Archived-At: > Cc: 50733@debbugs.gnu.org > Date: Wed, 22 Sep 2021 23:58:42 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > When you say "block for a long time", how long are we talking about? > >> > > To try it, evaluate > > > > (benchmark 1 '(project-find-regexp "new-collection")) > > I usually work on a monorepo with ~67000 tracked files (many of them big > binary files). Here's what I get when using ripgrep as the xref search > program: > > Elapsed time: 36.087181s (8.067474s in 22 GCs) > > Running the same search with ripgrep from the command line takes around > 6 seconds. How many matches does that report?