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: Wed, 14 Dec 2022 13:39:43 +0000 Message-ID: <87mt7qt880.fsf@localhost> References: <877d10r21x.fsf@localhost> <83sfjo3tfw.fsf@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> <83zgbrnv53.fsf@gnu.org> <87bko78aif.fsf@localhost> <83o7s7nqch.fsf@gnu.org> <878rjb89kq.fsf@localhost> <83mt7rnkb7.fsf@gnu.org> <87cz8musay.fsf@localhost> <831qp2nnhz.fsf@gnu.org> <87v8met8zt.fsf@localhost> <83v8mem7p1.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="31211"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 14 16:33:08 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 1p5Tkp-0007tc-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Dec 2022 16:33:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5RzV-0001Ov-BL; Wed, 14 Dec 2022 08:40:09 -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 ) id 1p5RzR-0001Oc-CY for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 08:40:06 -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 ) id 1p5RzO-0006Xx-4Y for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 08:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5RzN-0000fP-Ja for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2022 08:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Dec 2022 13:40: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.16710251942553 (code B ref 58558); Wed, 14 Dec 2022 13:40:01 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 14 Dec 2022 13:39:54 +0000 Original-Received: from localhost ([127.0.0.1]:39343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5RzG-0000f5-Ao for submit@debbugs.gnu.org; Wed, 14 Dec 2022 08:39:54 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:60483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5RzD-0000ey-RI for 58558@debbugs.gnu.org; Wed, 14 Dec 2022 08:39:52 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1CD2F24002A for <58558@debbugs.gnu.org>; Wed, 14 Dec 2022 14:39:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671025186; bh=YFTHDnjkGSQYe0A7Zcnalul0KQM0kZp0JYdmKZMtshI=; h=From:To:Cc:Subject:Date:From; b=KoA1RtbeFJ7dSpqwKmXHdIquXXT3IL0OuYpLUV7ew3LDoERANVxSSXmgQTQYxGDyk Xnj9aUEhzTMO2rua1Ri9XmMzSoUJv2+FMaDdlafTTlCHiwU70cBD3BmtNtjyNHZwKd 2iQFsWW+LDtkqOaCZFYn76Mn+8qWdOxPNNkUtdRd7MdI5Tcr1Em4bFLmvljNai5lrk +cXTKuBxb9xGFv+R4u5kGi0Boy/wBzQhLeR406lZ1FgTwZWpxd3FuLPnqKvM0y5hf6 0D1pAsWGKr7eZme1minsRe0Rkl5jGQH79/POYtRB5GxXo3aJYcWGsM+icCaA5s/jEe EOhZgvlOC1HCA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NXGgj3Kd6z6tm6; Wed, 14 Dec 2022 14:39:45 +0100 (CET) In-Reply-To: <83v8mem7p1.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" 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:250959 Archived-At: Eli Zaretskii writes: >> Markers may or may not be a problem. > > What else could slow down buf_bytepos_to_charpos so much? All it does > is examine markers. Well. I believe so. But I feel confused. So, I do not exclude other reasons. Note that I have little experience with gdb. >> f they are, it is not necessarily related to markers created when I >> run the benchmarks. May also be some markers created during the >> Emacs session. > > Which means massive creation of markers could be the reason, > regardless of what causes such massive creation. Right? But if so, > why did you say that markers created by some timer(s) were not > relevant? Because those came from auto-revert-mode and are unlikely going to contribute to the single Org buffer I have problems with. > Btw, did you try to compare the number of buffer markers in Emacs 28 > and Emacs 29/30, under this scenario, when the search becomes slow > enough? How can I find the number of buffer markers? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at