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#73484: 31.0.50; Abolishing etags-regen-file-extensions Date: Mon, 7 Oct 2024 10:11:08 +0300 Message-ID: References: <87tteaznog.fsf@zephyr.silentflame.com> <8734lrrj4e.fsf@zephyr.silentflame.com> <87o74c1ce1.fsf@zephyr.silentflame.com> <87jzezzg87.fsf_-_@zephyr.silentflame.com> <37e4b3cd-6363-4f55-9921-92a1182679dc@gutov.dev> <86ttdy50ja.fsf@gnu.org> <75fe4289-da41-454d-ba92-22a92ea7002f@gutov.dev> <86frpe2186.fsf@gnu.org> <8e305b6d-8ca8-4437-990f-183ebc007d18@gutov.dev> <865xqa1ggi.fsf@gnu.org> <86ttdtzoof.fsf@gnu.org> <8d7dc133-9828-4023-821f-e4403f899f81@gutov.dev> <86ttdsxt6x.fsf@gnu.org> <52cb1caa-9e7e-45df-b328-d60948d397f6@gutov.dev> <864j5rxca1.fsf@gnu.org> <87a5fiijy9.fsf@tucano.isti.cnr.it> <86jzelvjh4.fsf@gnu.org> <8b6560a9-e2d6-42ae-ac1d-014700f21804@gutov.dev> <86wmiktzez.fsf@gnu.org> 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="14545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: pot@gnu.org, 73484@debbugs.gnu.org, spwhitton@spwhitton.name To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 07 09:12:26 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 1sxhum-0003Sf-V4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Oct 2024 09:12:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxhuP-0005cT-PP; Mon, 07 Oct 2024 03:11: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 1sxhuO-0005c5-1F for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2024 03:11:56 -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 1sxhuN-0003de-Mk for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2024 03:11:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=JagFvY4UvimI2+/+t1HWjYntz503tzQOfIm21DpzVzo=; b=i38wuIsF9Zqt0J3dFCef6pKAXYUhDq6Lg1PBsmT1L23s0Z2IP7QwnnRZ+QjYCKouYRpQMfTfP69RYkHxCNrCdR+0IFfyUso9qSISyihS1gBhg3RF2PnirXUNa+LOAmL6oxOwyctF4ixi/eL8LC1jiAZF/1OS65zNP2LrUd3XCflJYWZiE7RqE688u0SN9tNZxgA0ecZgfvjFEqmK6OVN1Z1uvTNH1S/uXtInVALFOzuoBaBAFCnyE/VC3zncaJIz/OY/6xvD/oQWQ8FI5wiqhl3QvqH9jkHMIP3UPfahgtI6D83/7SfAgqeeXhE/SAvRhR0Sj5lGjDh8nYSj4VwygQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxhuU-0000qX-FY for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2024 03:12: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: Mon, 07 Oct 2024 07:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73484 X-GNU-PR-Package: emacs Original-Received: via spool by 73484-submit@debbugs.gnu.org id=B73484.17282850893208 (code B ref 73484); Mon, 07 Oct 2024 07:12:02 +0000 Original-Received: (at 73484) by debbugs.gnu.org; 7 Oct 2024 07:11:29 +0000 Original-Received: from localhost ([127.0.0.1]:44394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxhtx-0000pf-Ac for submit@debbugs.gnu.org; Mon, 07 Oct 2024 03:11:29 -0400 Original-Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:53051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxhtu-0000pQ-68 for 73484@debbugs.gnu.org; Mon, 07 Oct 2024 03:11:27 -0400 Original-Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id C3D6D13800F3; Mon, 7 Oct 2024 03:11:13 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 07 Oct 2024 03:11:13 -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=fm1; t=1728285073; x=1728371473; bh=JagFvY4UvimI2+/+t1HWjYntz503tzQOfIm21DpzVzo=; b= TfjeNeiQ1qqBFl9JoRqv2ZUI2g5T1amwPvpm4rdN0WxXnTQWMytCd3hgbOvl5Q8m LaaeFydeUcMLdBs5NssLsIQECAA7jebez/TD83Eic3dqCp437FZ1bKBVfsd8THei AyHRaqnC3Xf33qF8fp88pWBsbMAqATy9ZTHzQvSZ2GEZYEf7ceTAkvenJRqzgEt7 S4kBwPws5yn7CV7qZw5ScoR77CiU90cLWfQc7F2aew0let46cnnA+kBDEvP9Z6or QR6IO+ygt63j1f3pNfGNH4znFQLMqWId4qBmJDfc5lvSFiBXOe6edx9z56pLTlFA OiPVIw7hpZCXabCKpo9URA== 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=fm2; t=1728285073; x= 1728371473; bh=JagFvY4UvimI2+/+t1HWjYntz503tzQOfIm21DpzVzo=; b=R yOYeH9Ltk/E5TGO7yHDnlQ6zbXCJdKqJgIj9xE7TzM2wIP5c90Pm5i9t79ar+odD 6+6ZGFXk0azstR7H558nPD7n4Chw4uFkT3/0pFzswSZMN5zref3FZuRR40txaMDQ DPY28adkVcwqt5xjd52PwdLrIS2tMx+93Fj6oKeKRR3oOtVLzWjkDsAmtg1XwQfj Olm0zcxhQcazt+Bs4ys1H+cHnCElNnpWN7jiBvyh/2Wj7blWunXpLPWBpgBRoMH7 lzoam0F4txlnE4VuR+RbqJQ30xITV9kq8NUB8ZqTTrODk2SS7sHgusvq9T35fcOS y2q5c3LU8tGgan5oRX3WA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddvkedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht ohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghlihiisehgnhhurdhorh hgpdhrtghpthhtohepphhothesghhnuhdrohhrghdprhgtphhtthhopehsphifhhhithht ohhnsehsphifhhhithhtohhnrdhnrghmvgdprhgtphhtthhopeejfeegkeegseguvggssg hughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Oct 2024 03:11:11 -0400 (EDT) Content-Language: en-US In-Reply-To: <86wmiktzez.fsf@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293104 Archived-At: On 07/10/2024 05:33, Eli Zaretskii wrote: >> Sorry, I have to add a correction: it's about 15 min either way. Seems >> like the first time I either messed up the start time, or the directory >> was in "cold" cache, or the used etags some much older version. >> >> So to reiterate: the current etags-regen scans in around 30s, and the >> simple switch scans the directory in 15 minutes. Retesting the change >> from previous email, it doesn't really help. > Can you please show the etags command line in each of these two cases > that you are comparing? Both commands end with a '-' (scanning the list of files passed from stdin). >>> And if they don't have extensions, the code you >>> removed would have caused etags to scan these files anyway, looking >>> for Fortran or C tags. So how come the change slowed down etags so >>> much? What am I missing? >> I think it would also concern "unknown" extensions, right? Like .txt, >> .png and so on. > I have difficulty reasoning about this without knowing the command > lines you used. E.g., I don't understand why in one case it would > scan files with unknown extensions that were not scanned in the other. In one case the list is pre-filtered with etags-regen-file-extensions (see 'etags-regen--all-files'), in the other - it is not, and all files in project are passed.