From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#48581: 27.2; Default value of lazy-highlight-buffer-max-at-a-time is too low Date: Tue, 25 May 2021 23:29:56 +0300 Organization: LINKOV.NET Message-ID: <87zgwi64jn.fsf@mail.linkov.net> References: <87k0nr9l2f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36757"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 48581@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 25 22:41:55 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 1lldsA-0009UN-HY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 22:41:54 +0200 Original-Received: from localhost ([::1]:41514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llds9-0006u0-JG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 May 2021 16:41:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lldpP-0003Cl-Ft for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lldpP-0004wQ-83 for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lldpP-0008GQ-6M for bug-gnu-emacs@gnu.org; Tue, 25 May 2021 16:39:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 May 2021 20:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48581 X-GNU-PR-Package: emacs Original-Received: via spool by 48581-submit@debbugs.gnu.org id=B48581.162197512731718 (code B ref 48581); Tue, 25 May 2021 20:39:03 +0000 Original-Received: (at 48581) by debbugs.gnu.org; 25 May 2021 20:38:47 +0000 Original-Received: from localhost ([127.0.0.1]:47129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldp8-0008FQ-TK for submit@debbugs.gnu.org; Tue, 25 May 2021 16:38:47 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldp5-0008Eq-T6 for 48581@debbugs.gnu.org; Tue, 25 May 2021 16:38:44 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B366360002; Tue, 25 May 2021 20:38:36 +0000 (UTC) In-Reply-To: <87k0nr9l2f.fsf@gmail.com> (Augusto Stoffel's message of "Sat, 22 May 2021 11:25:44 +0200") 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:207262 Archived-At: > lazy-highlight-buffer-max-at-a-time | time to finish counting > 20 (current setting) | 1.5 s > 50 | 0.8 s > 100 | 0.6 s > 200 | 0.5 s > nil (do it all at once) | 0.4 s > > Based on this, I would like to suggest changing the default to 200, or > something in that order of magnitude. Thanks for the suggestion. I tried to change it to 200, I got such times: lazy-highlight-buffer-max-at-a-time | time to finish counting 20 (current setting) | 7 s 200 | 2 s I hope this change will be a big improvement for everyone, because users will lose less time waiting it to finish, while keeping isearch still responsive.