From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71644: 30.0.50; Severe slowdown in larger files with markers beginning in emacs 29+ Date: Tue, 25 Jun 2024 16:44:48 +0300 Message-ID: <86o77p9lwv.fsf@gnu.org> References: <86ed8tozub.fsf@gnu.org> <86jzijmo5a.fsf@gnu.org> <87h6dmbyy2.fsf@localhost> <87wmmhgjao.fsf@localhost> <87le2t5q07.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33942"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mitchellahren@gmail.com, monnier@iro.umontreal.ca, 71644@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 25 15:46:27 2024 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 1sM6V8-0008az-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jun 2024 15:46:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sM6Uq-0005r7-EK; Tue, 25 Jun 2024 09:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sM6Ui-0005qo-Mm for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 09:46:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sM6Ui-0006Fn-Ew for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 09:46:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sM6Uk-0004RX-2Z for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2024 09:46: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: Tue, 25 Jun 2024 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71644 X-GNU-PR-Package: emacs Original-Received: via spool by 71644-submit@debbugs.gnu.org id=B71644.171932310316998 (code B ref 71644); Tue, 25 Jun 2024 13:46:02 +0000 Original-Received: (at 71644) by debbugs.gnu.org; 25 Jun 2024 13:45:03 +0000 Original-Received: from localhost ([127.0.0.1]:36530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sM6Tm-0004Q5-SU for submit@debbugs.gnu.org; Tue, 25 Jun 2024 09:45:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sM6Tk-0004PH-CJ for 71644@debbugs.gnu.org; Tue, 25 Jun 2024 09:45:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sM6Td-0005sI-33; Tue, 25 Jun 2024 09:44:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hHq+6EHPSj2CvsDG3HWp02ykpAK44tCGasBcBP66Ekw=; b=JPxFqUjyclmA 6J7vq9FGSsC6TbZdg01QkPPriplrj7lj40mXb/Hcjrv5FkS+v6GXbKbJJCCQZzjsCCI9BosvF9pCF hitguLv7eO3QLQwPduTYTVVrbWMRg9aBDWuEV9vb3yeEwMxQvlodEnArBxCN0CInN3AsIuQtefuiO dxKK2fbY46VilUVt6tCs5g3/LNJ/rEk7obm9o/vW/NLWLE3nneP0fkrLhmTmSYMfbFel+GCKE82Dv TP5sman/2Dd76wi+hMQ7IxEvSiF7QJmIUdLnnmNrmh6uCmHBDUzxd/5LD1wAykPqcu84dZm+029AR lSwZtaTQ6xZCQwvm61JMsw==; In-Reply-To: <87le2t5q07.fsf@localhost> (message from Ihor Radchenko on Tue, 25 Jun 2024 09:30:00 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287890 Archived-At: > From: Ihor Radchenko > Cc: Mitchell , Eli Zaretskii , > 71644@debbugs.gnu.org > Date: Tue, 25 Jun 2024 09:30:00 +0000 > > Stefan Monnier writes: > > > One other thing I notice: If I use Emacs-29 but with Org-9.5.5 (i.e., the > > version included in Emacs-28.2) the recipe doesn't show the slowdown. > > ... > > If someone more familiar with the changes that occurred in Org around > > that time could try and track down the specific change that triggers the > > problem, that would be appreciated. > > The biggest suspect is the fact that Org switched from overlay-based > folding to text property-based between Org 9.5 and Org 9.6. But overlays aren't supposed to be faster than text properties, so I'm unsure why this change would have such an effect. However, it is important to establish the facts first, and try to explain them later. So if you could come up with a change to try on top of Org 9.6 that would change it back to use overlays for folding, we could try that and see if the slowdown goes away, and take it from there.