From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31853: 27.0.50; binding case-fold-search is slow when there are many buffers Date: Sat, 23 Jun 2018 09:54:07 +0300 Message-ID: <83lgb6uh68.fsf@gnu.org> References: <83h8m31b7j.fsf@gnu.org> <837emz1829.fsf@gnu.org> <83h8m1tv5t.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529736787 4172 195.159.176.226 (23 Jun 2018 06:53:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 06:53:07 +0000 (UTC) Cc: 31853@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 08:53:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWcPu-00010P-PS for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 08:53:02 +0200 Original-Received: from localhost ([::1]:37371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWcS1-0006em-R4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2018 02:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWcRv-0006ee-B4 for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 02:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWcRq-00047V-Fb for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 02:55:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWcRq-00047P-BX for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 02:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWcRq-0000TH-3u for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 02:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 06:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31853 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31853-submit@debbugs.gnu.org id=B31853.15297368491748 (code B ref 31853); Sat, 23 Jun 2018 06:55:02 +0000 Original-Received: (at 31853) by debbugs.gnu.org; 23 Jun 2018 06:54:09 +0000 Original-Received: from localhost ([127.0.0.1]:60723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWcQz-0000S8-De for submit@debbugs.gnu.org; Sat, 23 Jun 2018 02:54:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWcQx-0000Rm-6n for 31853@debbugs.gnu.org; Sat, 23 Jun 2018 02:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWcQn-0003ak-47 for 31853@debbugs.gnu.org; Sat, 23 Jun 2018 02:54:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWcQm-0003ag-Vx; Sat, 23 Jun 2018 02:53:57 -0400 Original-Received: from [176.228.60.248] (port=2464 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWcQm-0006Ya-Cm; Sat, 23 Jun 2018 02:53:56 -0400 In-reply-to: (message from Aaron Jensen on Fri, 22 Jun 2018 22:23:09 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147752 Archived-At: > From: Aaron Jensen > Date: Fri, 22 Jun 2018 22:23:09 -0700 > Cc: 31853@debbugs.gnu.org > > > > > On Sat, Jun 16, 2018 at 12:53 AM Eli Zaretskii wrote: > > > > > In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18522#201 I proposed > > > > > a change to set-default that would use FOR_EACH_LIVE_BUFFER. Could > > > > > you see if that change helps in your case? > > > > > > With 148 live buffers and 6 hours of uptime, I'm up to about 23 > > > microseconds. Still a far cry from 1ms. I'll keep testing. > > > > Thanks. > > I haven't noticed any slowdown yet. It seems to be an improvement. If > you're good with the patch and could provide me with some text to > write in the commit message (I roughly understand what it does, but I > don't know anything about the other ramifications) I can send another > patch. Otherwise, please feel free to use the patch and commit w/ your > own message/name. There's no rush. Let's give this another week, and I will push the change if no problems come up by that date. Thanks.