From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#58558: 29.0.50; re-search-forward is slow in some buffers Date: Sun, 16 Oct 2022 09:34:58 +0000 Message-ID: <87ilkk6ri5.fsf@localhost> References: <877d10r21x.fsf@localhost> <87zgdwyvkt.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 16 11:35:41 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 1ok03Z-0000Kh-9z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 11:35:41 +0200 Original-Received: from localhost ([::1]:46090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok03X-0003Ur-Qx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 05:35:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok02x-0003Sc-0G for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok02w-0007Ny-ON for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok02w-0000vd-J2 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Oct 2022 09:35: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.16659128623493 (code B ref 58558); Sun, 16 Oct 2022 09:35:02 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 16 Oct 2022 09:34:22 +0000 Original-Received: from localhost ([127.0.0.1]:43405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok02H-0000uG-Px for submit@debbugs.gnu.org; Sun, 16 Oct 2022 05:34:22 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:36709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok02E-0000u0-Ul for 58558@debbugs.gnu.org; Sun, 16 Oct 2022 05:34:20 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1A117240101 for <58558@debbugs.gnu.org>; Sun, 16 Oct 2022 11:34:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665912853; bh=b1XP0s2pDMGhZ//qTG4aqVqCUsq0w93GeDGJByczsRU=; h=From:To:Cc:Subject:Date:From; b=UoFJw8UD6UD8V52g2b6hQuTJ0253l2aYLM5qEX1nExdVju0R1qISqWuiOS1y37v14 b2D63QKnYGFZMwxQXuyBoGZXJHNL/T+Ci1QEGKoHlDu0aPsjAhUgNjKl9+BHj46uJ6 I1wvsCttF+rHkYq1WkSMi7DzoT++sL31Z2DBIs4qTSot1EY6aXo5UVBn3D2UFj4DBz bWDHhGuQONrIW6DbvfqgLUr/knJDLFqrMy38p1vFLQWuquvcA2ndPQwUdktOrOJtW9 HvsTxwA0ZG/eXQ+4X2Nhv/GgvMdKmh48gaBPn73dU5ZRpj+CRjikP/RoiaOmRuwlIv 1QSkjNYS3YIUw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mqw1Z5bvvz9rxF; Sun, 16 Oct 2022 11:34:10 +0200 (CEST) In-Reply-To: <87zgdwyvkt.fsf@gnus.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" Xref: news.gmane.io gmane.emacs.bugs:245616 Archived-At: Lars Ingebrigtsen writes: >> It happens consistently in Emacs 29, but not in all buffers. Sometimes, >> it only happens after some time after Emacs startup. The slowdown is not >> there in Emacs 28. > > Is there anything special about buffers where you see these slowdowns? This is a large complex Org buffer. > For instance, a large number of text properties or overlays? > > (length (object-intervals (current-buffer))) => 101075 (took over 10sec to complete the command) > will tell you how many text properties there are (sort of), and > > (length (overlays-in (point-min) (point-max))) > > should tell you the same for overlays. => 1 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at