From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.bugs Subject: bug#63842: 30.0.50; Slow 'gnus-summary-refer-thread' Date: Sat, 03 Jun 2023 07:32:26 +0800 Organization: Boston University Message-ID: <87bkhxl9th.fsf@ust.hk> References: <871qiu6m1f.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15089"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63842@debbugs.gnu.org, cohen@andy.bu.edu To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 01:33:26 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 1q5EGs-0003gU-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 01:33:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5EGW-0006uE-FD; Fri, 02 Jun 2023 19:33: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 1q5EGU-0006tm-OG for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2023 19:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5EGU-0003oI-F3 for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2023 19:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5EGT-0003IS-SY for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2023 19:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jun 2023 23:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63842 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, cohen@andy.bu.edu Original-Received: via spool by submit@debbugs.gnu.org id=B.168574877212655 (code B ref -1); Fri, 02 Jun 2023 23:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jun 2023 23:32:52 +0000 Original-Received: from localhost ([127.0.0.1]:41019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5EGJ-0003I3-Sp for submit@debbugs.gnu.org; Fri, 02 Jun 2023 19:32:52 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5EGF-0003Hs-CL for submit@debbugs.gnu.org; Fri, 02 Jun 2023 19:32:50 -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 1q5EGF-0006t9-0o for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2023 19:32:47 -0400 Original-Received: from andy.bu.edu ([128.197.41.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5EGA-0003gx-Cz for bug-gnu-emacs@gnu.org; Fri, 02 Jun 2023 19:32:46 -0400 Original-Received: from [193.176.211.165] (helo=clove) by andy.bu.edu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5EG4-0005DD-7W; Fri, 02 Jun 2023 19:32:37 -0400 In-Reply-To: <871qiu6m1f.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Fri, 02 Jun 2023 15:17:32 +0200") Received-SPF: pass client-ip=128.197.41.152; envelope-from=cohen@bu.edu; helo=andy.bu.edu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:262788 Archived-At: Dear Manuel: >>>>> "MG" == Manuel Giraud writes: MG> Hi, Since sometimes now, in Gnus summary, calling 'A T' MG> (gnus-summary-refer-thread) is really slow (30 seconds to 1 MG> minute) and it was instantaneous before. Thanks for the bug report, and thanks for finding what is causing the slowdown. The variable 'gnus-read-all-available-headers causes gnus to parse all the headers it has available. There are some cases in which this is needed to adequately find the referring thread, but others where it is unnecessary. We can almost certainly move this to restrict to those cases where it is really necessary and hopefully fix the problem. We just need to know a bit more about which cases are slow (for example, for me with mostly imap groups, there is no slowness). Can you tell me (for circumstances where the referral is slow): 1. What kind of group and the backend used in the group from which you did the referral (imap, nntp, etc) 2. What search engine are you using (imap, notmuch, etc) 3. When the thread referral happens which groups are getting searched? (In particular, what is the value of 'gnus-refer-thread-use-search? And is the search on the full server or is it restricted to a single group?). And can you tell if the same set of groups is being searched before and after the slowdown appeared? Thanks for helping finding and fixing this. Best, Andy -- Andrew Cohen