From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58558: 29.0.50; re-search-forward is slow in some buffers Date: Sun, 16 Oct 2022 12:04:08 +0200 Message-ID: <87czasjd9j.fsf@gnus.org> References: <877d10r21x.fsf@localhost> <87zgdwyvkt.fsf@gnus.org> <87ilkk6ri5.fsf@localhost> <87v8okjei9.fsf@gnus.org> <87tu44jdce.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18231"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58558@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 16 12:05:19 2022 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 1ok0WF-0004UI-Is for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 12:05:19 +0200 Original-Received: from localhost ([::1]:60042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok0WD-0003jH-UR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 06:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok0Vy-0003j7-Lw for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 06:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok0Vy-0002wT-Db for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 06:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok0Vy-0003yR-9H for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 06:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Oct 2022 10:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58558 X-GNU-PR-Package: emacs Original-Received: via spool by 58558-submit@debbugs.gnu.org id=B58558.166591466015182 (code B ref 58558); Sun, 16 Oct 2022 10:05:02 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 16 Oct 2022 10:04:20 +0000 Original-Received: from localhost ([127.0.0.1]:43446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok0VI-0003wn-24 for submit@debbugs.gnu.org; Sun, 16 Oct 2022 06:04:20 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:42616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok0VF-0003wW-Bw for 58558@debbugs.gnu.org; Sun, 16 Oct 2022 06:04:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JBDnVdQL1+lCi4h1RvFsoSI/MuhN5OjR+i85ip7l++E=; b=ESWR1DQVH9qAiZM1bswaMIIsDQ IHNTPvGRy7zuNK9tP++urEneOpy7JXqzcQLTR/DAveLG1mvt892c2y0rahJhTGKGFxMBU8Rbx8hHQ 6KFbQLC50ObQPT1Urfs06NxCD1gB+WaBrpxmHpQ+ISXmyjH1Vr0pLICLgrA20EUz5/Tg=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ok0V7-0004tU-5F; Sun, 16 Oct 2022 12:04:11 +0200 In-Reply-To: <87tu44jdce.fsf@localhost> (Ihor Radchenko's message of "Sun, 16 Oct 2022 10:02:25 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAHlBMVEUeHh4jIyceHiEf ICUlJzUfHyAgIB4nLkAoMEL///+GCEy2AAAAAWJLR0QJ8dml7AAAAAd0SU1FB+YKEAoDBUCwP5sA AAFlSURBVDjLbZRNbgIxDIUDEgd4YLVbSE/QI7iyNHMN7hAJDjCLHrvj2M4PxWIR8vnZjrFJB+yW jvmY8ZVzTjmpXZFQ7ZwBERLBEdfTTX0NgNiA4GwXDkQUVMMIqqtMJLmgK0ZAAagSDkAyKUyTLJAw g8kEeq6A3ItJXGvgw93AnkIieQAIB9m/pAM1QOfqRKyiBnC5kBXi4NRql1KiEgU3r52W5fkollAl 6e4usixFr0KS3Adb1BDAPH5ody8a+3sGmnSpisvnCPYAvIMiK0eHXHE32fYUB+zAfhHa6pEHEG+M Z7wq4tgA38MzOsxDufLbTiN4iKzbJr3cGIXH4gDeRLC/8LfoB13hXZd1Lc/tX3ejmj6ObRhs4jWQ Pp3nKYEviVQQPdEOI8INc2Xv7tPbwWCarM1u1FmPw7QPldqCtP3ogNt+4EXB46oxvwPz1vK85w3w 9AeADjADMKb7DjwR3oBQmv0Btv7fI1gQMg8AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMTAtMTZU MTA6MDM6MDUrMDA6MDC3nENBAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTEwLTE2VDEwOjAzOjA1 KzAwOjAwxsH7/QAAAABJRU5ErkJggg== X-Now-Playing: The Knife's _Silent Shout_: "Silent Shout" 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:245623 Archived-At: Ihor Radchenko writes: >> If you switch the buffer to `clean-mode' (which should remove all text >> props), does the slowdown disappear? In that case, it seems likely that >> the slowdown is connected to text properties, somehow. > > The slowdown becomes slightly better, but nowhere close to Emacs 28: > > ;; Emacs 29 > ;; Elapsed time: 16.953404s > ;; Emacs 29 + clean-mode > ;; Elapsed time: 13.290568s > ;; Emacs 28 > ;; Elapsed time: 0.869748s Hm... Another test -- could you try `find-file-literally' on the Org file and repeat the search?