From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Ihor Radchenko <yantar92@posteo.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#71644: 30.0.50;
 Severe slowdown in larger files with markers beginning in emacs 29+
Date: Thu, 20 Jun 2024 13:49:10 +0000
Message-ID: <87ed8r912h.fsf@localhost>
References: <CAOQwW=bUhFRK7b4F-RrNRWmuKe4sFazPx++WubSF2scCuvrU1A@mail.gmail.com>
 <86ed8tozub.fsf@gnu.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="33490"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Mitchell <mitchellahren@gmail.com>, 71644@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 15:48:10 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1sKI94-0008YN-AI
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 15:48:10 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1sKI8u-0002Gu-MD; Thu, 20 Jun 2024 09:48:00 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1sKI8s-0002Gl-BO
 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 09:47:58 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1sKI8s-00079p-3Y
 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 09:47:58 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sKI8v-00011i-Nf
 for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 09:48:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Ihor Radchenko <yantar92@posteo.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 20 Jun 2024 13:48:01 +0000
Resent-Message-ID: <handler.71644.B71644.17188912613896@debbugs.gnu.org>
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.17188912613896
 (code B ref 71644); Thu, 20 Jun 2024 13:48:01 +0000
Original-Received: (at 71644) by debbugs.gnu.org; 20 Jun 2024 13:47:41 +0000
Original-Received: from localhost ([127.0.0.1]:57306 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1sKI8a-00010m-Jk
 for submit@debbugs.gnu.org; Thu, 20 Jun 2024 09:47:40 -0400
Original-Received: from mout01.posteo.de ([185.67.36.65]:46563)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@posteo.net>) id 1sKI8Y-00010Q-BE
 for 71644@debbugs.gnu.org; Thu, 20 Jun 2024 09:47:39 -0400
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id B3092240027
 for <71644@debbugs.gnu.org>; Thu, 20 Jun 2024 15:47:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1718891246; bh=c/cNoMO3aCPVzwuWK2gxThiKVVJUfmyKHsJXXvF0b/Y=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=pNWrQ4lVCx3u5BTWc6GDlaB1Fimv37kBP8fEyIV0ru0IFVRIQ1H7NhNSjtIdMo9Q6
 0IgxcgS9HD7iuJcwlIiuBXHy6dSc/ucv+Dg4/JWGxJV/HyH6+DBW1aB5GkLY5iI8Et
 ONzl5u6rWSnPA2smzEcfkI2/VysHmaBvNdZvmCtRrEv8DBMWAMsyMuX9JltpsEln3F
 sfEBDkAlRAsJEVQLTA1NU9p5HU7GIXVQDHyF37IO3gZ24NlxYGzJZgg+CPmeVuU1lP
 TOBPaGE/eIQ5AhbXrYzbniidpLWO1OZIZiBOpCi5Ac/X0t+NuqKqC5NKOE6PrZOJ5C
 TGm1W4errY7TA==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4W4hcs6DMlz9rxP;
 Thu, 20 Jun 2024 15:47:25 +0200 (CEST)
In-Reply-To: <86ed8tozub.fsf@gnu.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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:287553
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/287553>

Eli Zaretskii <eliz@gnu.org> writes:

> I cannot reproduce this on my system, with the current master branch,
> i.e. Emacs 30.  I _can_ reproduce this in Emacs 29.3, where indeed
> expanding any of the two abbrevs takes about 0.5 sec to show on the
> screen.  But in Emacs 30 it's instantaneous, even though I used an
> unoptimized build of Emacs 30.  Maybe the reason is that Emacs 30 now
> uses Org 9.7.4, whereas you have a local installation of 9.6.30?

What if you add
(setq org-fold-core-style 'text-properties) to your reproducer?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>