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: Tue, 18 Oct 2022 17:58:59 +0300 Message-ID: <8335bl18lo.fsf@gnu.org> References: <877d10r21x.fsf@localhost> <87zgdwyvkt.fsf@gnus.org> <87ilkk6ri5.fsf@localhost> <87v8okjei9.fsf@gnus.org> <87tu44jdce.fsf@localhost> <87czasjd9j.fsf@gnus.org> <87k050nio5.fsf@localhost> <87zgdwhw0z.fsf@gnus.org> <83sfjo3tfw.fsf@gnu.org> <878rlfjmjh.fsf@localhost> <87mt9tbbbp.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org, yantar92@posteo.net, monnier@iro.umontreal.ca To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 17:01:54 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 1oko6M-0004kQ-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 17:01:54 +0200 Original-Received: from localhost ([::1]:49232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oko6K-0001KW-M5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 11:01:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oko4Z-0001In-HL for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oko4Z-0003IK-4U for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oko4Y-0007Bx-Ry for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 11:00: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, 18 Oct 2022 15:00:02 +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.166610516127565 (code B ref 58558); Tue, 18 Oct 2022 15:00:02 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 18 Oct 2022 14:59:21 +0000 Original-Received: from localhost ([127.0.0.1]:53741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oko3t-0007AW-4E for submit@debbugs.gnu.org; Tue, 18 Oct 2022 10:59:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oko3m-0007A9-OP for 58558@debbugs.gnu.org; Tue, 18 Oct 2022 10:59:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oko3g-0003AO-O8; Tue, 18 Oct 2022 10:59:08 -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=RSnOL5uL1vkaapRINDibAocUHxIlkwzvCNT9wSLgGtY=; b=rSzo+mnvhFYp zEW22LOZlz54Mekvkqvz1O567ihvUguygf+CZd3hZKyqF2RQdIL3GG5jmUzzjiUSzz5x6F4WaIvDT zKq3UVX2Jr3adoPdjFyM0MITidTN+bsO3Uhg86TeJjoPfOWv3r+7xbYjqSzrtWVYMKY4wye8Z8E2b a+GD1eAWJNyTdcaE05kqNCHx8MRBMYKejYuw4rqeWRpMyjYIz/n5QIXf5j1dfOGe5l+ozAwKn5eiv Hw/uJxmAblPgraC9PkosaN4JTu+ye+qKVjvCEheancGfVCe5aTMG7GsITr0CZgGeLm/N1skB6r2KT POUTrABcVpK3WW4kkoXe1g==; Original-Received: from [87.69.77.57] (port=2977 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 1oko3f-0001BC-69; Tue, 18 Oct 2022 10:59:08 -0400 In-Reply-To: <87mt9tbbbp.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 18 Oct 2022 13:50:02 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:245805 Archived-At: > From: Lars Ingebrigtsen > Cc: Stefan Monnier , 58558@debbugs.gnu.org, Eli > Zaretskii > Date: Tue, 18 Oct 2022 13:50:02 +0200 > > The slowdowns are so dramatic that they should show up on a profiler -- > which might give us a clue which parts of Emacs is slowing down. Right. > I briefly tried to use "perf" under Linux to connect to a running > Emacs and get some data out of it, but... er... I've never used it > before, and... > > Does anybody have a recipe for how to do runtime function tracing for a > running process? The way I run perf is to start Emacs under perf to begin with. What did you try? It was quite simple, AFAIR, last time I tried.