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#58558: 29.0.50; re-search-forward is slow in some buffers
Date: Wed, 14 Dec 2022 14:01:22 +0000
Message-ID: <87h6xyt77x.fsf@localhost>
References: <877d10r21x.fsf@localhost> <87tu44jdce.fsf@localhost>
 <87czasjd9j.fsf@gnus.org> <87k050nio5.fsf@localhost>
 <87zgdwhw0z.fsf@gnus.org> <83sfjo3tfw.fsf@gnu.org>
 <jwvbkqbhnu8.fsf-monnier+emacs@gnu.org> <878rlfjmjh.fsf@localhost>
 <87mt9tbbbp.fsf@gnus.org> <8335bl18lo.fsf@gnu.org>
 <87wn8x9eqb.fsf@gnus.org> <87tu1zd2c6.fsf@localhost>
 <83h6xzphxm.fsf@gnu.org> <87wn6vbfaa.fsf@localhost>
 <838rjbpecw.fsf@gnu.org> <87fsdjwb4e.fsf@localhost>
 <jwv5yefb556.fsf-monnier+emacs@gnu.org> <874jtyuqax.fsf@localhost>
 <83zgbqm8q6.fsf@gnu.org> <87sfhit8ug.fsf@localhost>
 <83tu1ym6jo.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="27781"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 58558@debbugs.gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 14 15:52:23 2022
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 1p5T7P-0006vn-HR
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Dec 2022 15:52:23 +0100
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 1p5SLD-0004ul-Gp; Wed, 14 Dec 2022 09:02:35 -0500
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 1p5SKh-0004or-31
 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 09:02:11 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.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 1p5SKg-0000xh-BD
 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 09:02:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1p5SKg-0000yL-4W
 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 09:02:02 -0500
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: Wed, 14 Dec 2022 14:02:02 +0000
Resent-Message-ID: <handler.58558.B58558.16710264953728@debbugs.gnu.org>
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.16710264953728
 (code B ref 58558); Wed, 14 Dec 2022 14:02:02 +0000
Original-Received: (at 58558) by debbugs.gnu.org; 14 Dec 2022 14:01:35 +0000
Original-Received: from localhost ([127.0.0.1]:39445 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1p5SKE-0000y4-HM
 for submit@debbugs.gnu.org; Wed, 14 Dec 2022 09:01:34 -0500
Original-Received: from mout02.posteo.de ([185.67.36.66]:33891)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@posteo.net>) id 1p5SKC-0000xy-2h
 for 58558@debbugs.gnu.org; Wed, 14 Dec 2022 09:01:33 -0500
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 90CAF240101
 for <58558@debbugs.gnu.org>; Wed, 14 Dec 2022 15:01:25 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1671026486; bh=dTtC/kTKf+Sehu8+qnyN3gDxiYYOHdAaq85fL65mMyg=;
 h=From:To:Cc:Subject:Date:From;
 b=FLKQaPlYyXt0danzSJkJnNPLGryKv6WqrzZIrm4b/46ThD+I1BwCY6fZibrvvmV7K
 UJwuJcwZ1F6hgLRcJDs1pSY2cHNg4bwtPX9Fj4f3ds9IGfrRYRfBTgg+LCk+nRDtUp
 gq6SQguey9QyziDFcGAWrHRRMWsXqGwz0UNyLbnZg8ML07+F1KtUPBBPoKyzWyRxox
 e/X+RHM5ogzy7BS6WYKEWmWyP0SxoH0NUJ7GEq0W/fJmYG2s1r3+04etTuGZSv2TjD
 zXwQVeCVJmlqXkkqxTNj2qh6QgF2M1SecpCn5l/FMHhUCwusNpbIpsxHYicfVe2xHF
 Qq/v75Z+08Blg==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4NXH8h3DQ1z6tlh;
 Wed, 14 Dec 2022 15:01:24 +0100 (CET)
In-Reply-To: <83tu1ym6jo.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:250948
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/250948>

Eli Zaretskii <eliz@gnu.org> writes:

> ...  For example, profile collected when the benchmark
> is run at the beginning of the session compared with profile from
> benchmark after several hours.  I thought you already posted such a
> comparison, and it, too, pointed at buf_bytepos_to_charpos?

Yes. Not exactly. I compared freshly opened buffer vs. after several
hours.

> Did you try to see how the number of markers in the buffer evolves
> with the up-time?

Is there any way to get the number of buffer markers from Elisp?

-- 
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>