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#71094: [PATCH] Prefer to run find and grep in parallel in rgrep Date: Sun, 26 May 2024 18:57:55 +0300 Message-ID: <9c6667e4-2b2a-4961-af22-c2c30b395bee@gutov.dev> References: <86ttiq6or8.fsf@gnu.org> <8aedd0ed-58fe-4ac7-98d6-950be2d4700b@gutov.dev> <868r026jlq.fsf@gnu.org> <861q5t7vrp.fsf@gnu.org> <10f62497-dfb1-4c46-b18a-6d1100de4b6a@gutov.dev> <86wmnl6f62.fsf@gnu.org> <87pltdbu17.fsf@ledu-giraud.fr> <86r0dt66nw.fsf@gnu.org> <87le41bqvd.fsf@ledu-giraud.fr> <86o78x5e5n.fsf@gnu.org> <149bf36e-831a-47ac-a424-7a3008462561@gutov.dev> <87bk4vyuie.fsf@ledu-giraud.fr> 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="18183"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: sbaugh@janestreet.com, Eli Zaretskii , 71094@debbugs.gnu.org, rgm@gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 26 17:59:08 2024 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 1sBGH5-0004UW-M8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 May 2024 17:59:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBGGv-000432-6s; Sun, 26 May 2024 11:58:57 -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 1sBGGr-00042X-VJ for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:58:54 -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 1sBGGr-00006u-M3 for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:58:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBGGz-0006ov-QU for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:59: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, 26 May 2024 15:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71094-submit@debbugs.gnu.org id=B71094.171673909626164 (code B ref 71094); Sun, 26 May 2024 15:59:01 +0000 Original-Received: (at 71094) by debbugs.gnu.org; 26 May 2024 15:58:16 +0000 Original-Received: from localhost ([127.0.0.1]:42323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBGGG-0006nw-1E for submit@debbugs.gnu.org; Sun, 26 May 2024 11:58:16 -0400 Original-Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]:56743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBGGE-0006nj-Il for 71094@debbugs.gnu.org; Sun, 26 May 2024 11:58:15 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 58A431C0010E; Sun, 26 May 2024 11:58:00 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 26 May 2024 11:58:00 -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:subject:subject:to:to; s=fm3; t=1716739079; x=1716825479; bh=7nbJX4n/8c8ahuztQ5lUmgJZS45fQKGW4EYPJBtREOM=; b= BAdNcR3yIQcCUogQpSHkhwdcEZVtJHUTEkhUZgWD9/7e9AKFLvgntRGpHDjOS4S4 YsD4lqbdOqKwCEXPwVoieBlPmzvKxNRr5Ji6C+4p+NW7gUtTa8NoLMA0cJPE8/S2 +Z9K1S4ATWj4NqTFkaNUNhiCj43PGVDOpyenZ0AgKyPsidZR1II9pob4K2NWAmAP RDTeqFCZavam0jGqu69n1ebLaHrgasWEj1K8XD1sClLdOSobnDDLQbcdau65V/ER 4ZxY9a1Q3hu+be7xiECtNboIAUPbGE0VnnXX3pwahjEFEz1TE1e1J90S3F/haaAo 9AepCl5h20Vrc4T9jnMzTg== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716739079; x= 1716825479; bh=7nbJX4n/8c8ahuztQ5lUmgJZS45fQKGW4EYPJBtREOM=; b=S d2JTQm9puybiOaXUAyZIEpCkYX9SybJpd1kE8OT7kpX0W23Q1fOZyk7IFYPkVnLM XKBv1xihAxBd+p/SrOK2TIKVxFsXwlf8VpkToajb2K+Swr+Zx/NtU+nzDxQX78ZA 9zInlIod9Fj4Sq5rm6a2FnbWT/2+3yOM3y09iP44murZdDBcb6u/A9A8BFTPib+m NIQNOEGltcGOM1+3kbAJvFuUlgMzKKDEi7LSDsCPVGdT2P/L3IBJICpwdr9QPXfn K0EfByQfD3O+N9vaK3ty6x/zArEtQBDbG1+02qqOGUASzpH4YTdXRA/HDLmDdAJ9 p9vy00vWIigm+qZnJK9JQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdejvddgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 May 2024 11:57:58 -0400 (EDT) Content-Language: en-US In-Reply-To: <87bk4vyuie.fsf@ledu-giraud.fr> 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:285979 Archived-At: On 24/05/2024 20:44, Manuel Giraud wrote: > Thanks. Here is what I get first without and then with the patch after > cache warming on both runs: > > ... > Grep finished with no matches found at Fri May 24 19:04:54, duration > 10.2 s > > ... > Grep finished with no matches found at Fri May 24 19:37:37, duration > 9.01 s That looks like a slight improvement as well, nice.