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#58558: 29.0.50; re-search-forward is slow in some buffers Date: Thu, 06 Apr 2023 15:05:50 +0300 Message-ID: <838rf5qkpt.fsf@gnu.org> References: <877d10r21x.fsf@localhost> <87czasjd9j.fsf@gnus.org> <87k050nio5.fsf@localhost> <87zgdwhw0z.fsf@gnus.org> <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> <874jtyuqax.fsf@localhost> <83zgbqm8q6.fsf@gnu.org> <87sfhit8ug.fsf@localhost> <83tu1ym6jo.fsf@gnu.org> <87h6xyt77x.fsf@localhost> <87h6ttkz6n.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org, larsi@gnus.org, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 06 14:06:30 2023 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 1pkONp-0008C6-Rd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Apr 2023 14:06:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkONQ-0000il-7c; Thu, 06 Apr 2023 08:06:04 -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 1pkONO-0000ga-Pl for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 08:06:02 -0400 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 1pkONO-0005gX-FX for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 08:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkONN-0007Ze-VB for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 08:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Apr 2023 12:06: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.168078273229067 (code B ref 58558); Thu, 06 Apr 2023 12:06:01 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 6 Apr 2023 12:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:53616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkOMu-0007Yk-G1 for submit@debbugs.gnu.org; Thu, 06 Apr 2023 08:05:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkOMq-0007YT-9q for 58558@debbugs.gnu.org; Thu, 06 Apr 2023 08:05:30 -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 1pkOMj-0004pR-Ra; Thu, 06 Apr 2023 08:05:21 -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=SHAT6HCO4ZAFOqxgUp9JfC/Hu8VSdTiyJuKQZDzQHjY=; b=Vj1xi9ZLEuES BCgVO5UxR4sByCwhCXY9KfQpSiCEoM5THj5Nv8oVJAMd+vf/bMv5Ovv/GBjQG6eO2nIj/Kgd38hFM U/3oU/xdVbI9Lg56JZjbeJdLbs9fs9Xhz8d/bWRScOpX8MvG+7j2FhpyaauAxb0FkJcDvpkrWMNpC fLpw1i8b29kvjpy5RhGG8wMtwVN+iQTrf+qT0W6xFLufXxR3fCGc2Q18c6/N/9PsoNfqBlcIcf9M/ YlWRvgzPfqeO8PrjQOrXXXwY2f/RuRjeDsarVeK2HonBW60vZZid4LLBihA3V7cxBSfG05x1HsXgQ d5Ai7waxG9JK6EcPSz6RZA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkOMj-0007uf-Bv; Thu, 06 Apr 2023 08:05:21 -0400 In-Reply-To: <87h6ttkz6n.fsf@localhost> (message from Ihor Radchenko on Thu, 06 Apr 2023 11:49:52 +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:259319 Archived-At: > From: Ihor Radchenko > Cc: monnier@iro.umontreal.ca, larsi@gnus.org, 58558@debbugs.gnu.org > Date: Thu, 06 Apr 2023 11:49:52 +0000 > > As you can see on the attached graph, the number of markers is ~1000, and > it is not significantly different for the two Emacs versions. > > So, the number of markers itself does not look like the real culprit. That's one potential reason down, thanks. > I have no better ideas for now except slowly bisecting Emacs (again). I think we should first go back to using perf. I don't think you compared profiles for Emacs which just started with one that was running long enough to show the slowdown. Comparing such profiles should at least give us a hint where to look.