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 11:37:18 +0200 Message-ID: <87v8okjei9.fsf@gnus.org> References: <877d10r21x.fsf@localhost> <87zgdwyvkt.fsf@gnus.org> <87ilkk6ri5.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="13725"; 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 11:38:16 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 1ok063-0003Pv-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 11:38:15 +0200 Original-Received: from localhost ([::1]:54910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ok062-0004nh-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Oct 2022 05:38:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ok05r-0004lt-4w for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ok05p-0007vT-VM for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ok05p-00010J-OJ for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2022 05:38:01 -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 09:38:01 +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.16659130513819 (code B ref 58558); Sun, 16 Oct 2022 09:38:01 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 16 Oct 2022 09:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:43415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok05K-0000zX-Rf for submit@debbugs.gnu.org; Sun, 16 Oct 2022 05:37:31 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:42430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok05H-0000zI-Pv for 58558@debbugs.gnu.org; Sun, 16 Oct 2022 05:37:28 -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=Qy/Fr7Xx0QmwL02rLStljtX3+vqKZdOBuMeMf7UJFQ4=; b=p6rmUG5ZTjdxHZp+z5tJwKNrSb wNP+CnCjm8MCKVX5roarxXl/J3oTgGC7Pndstrft0gUmzdltMD3pkqlz0QHpPcpWnpmJswN8513jq JMsK6pxXJ0pOeSndUlv+Z3K+CqvMZq/X3ZsFvLB48Hl5GdAlAZZWXr/dcfvtk0lWRXko=; 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 1ok058-0004ep-KH; Sun, 16 Oct 2022 11:37:20 +0200 In-Reply-To: <87ilkk6ri5.fsf@localhost> (Ihor Radchenko's message of "Sun, 16 Oct 2022 09:34:58 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUiGBFINiJfTS9Z U0OVfVr////xyjrFAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKEAkfBj2IjSUAAAGlSURBVDjLhVQL ksMgCAV7ASA9QCQeYI09wDb1/mda0DbNb2adzmjeEx4gFAAA2ZZq8RXtCOtyQnQqqsonwhjVyHui O1sXHJjhAm/+7g2mA/xxRidwnjzarBuy37zWBqBut/WEnThr7ImNI6R/iaGUs7Qj6MkfCAvJLW+5 ZNjXKnpAfLMUdzrU0rwgDDcAoxFdbk2EJyQGupmExbASAVSBzB8O5JGvfoQkYpPx0PBLsFmZXYzy 0772L0Ws3AjaButK1lri2hrjtljtpHM0j7R8Cf4QaXSxras3kQ3UvEu9EXm07fHcxQShqBUSlR6/ Dt2aRiAoBRacMVTtBH50hkJVnoh539VmIUuV3x7LPb6rKEYwaLJBsBNa6RoR2juJZV5Z55lE3+0l AhDLnBYbHCKUoQ5jt7CNx5BqzexjJfNbORARl0etdZRUNUuU7ipAeqLdr3XRWv2n3RUFe1k2JjVO lyjcCuuOQTQ+7KqvqL2FsG3Ekl4OaiRpCFqDup1o1aLzZ9q/RWGe7KYexqd9ptfxn6GPjEyvfDE6 Vvdcn1fjaSrWgyv+B4kPPMqT/iDoAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTE2VDA5OjMx OjA1KzAwOjAwMBEe4wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0xNlQwOTozMTowNSswMDow MEFMpl8AAAAASUVORK5CYII= X-Now-Playing: Tracey Thorn's _Out Of The Woods_: "Easy" 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:245617 Archived-At: Ihor Radchenko writes: >> 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) 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.