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#64391: 30.0.50; buffer narrowing slowdown regression in emacs 29 Date: Sat, 01 Jul 2023 11:09:01 +0300 Message-ID: <83wmzkqciq.fsf@gnu.org> References: <877crkcwrm.fsf@ust.hk> <835y74rtyj.fsf@gnu.org> <87mt0gaxzq.fsf@ust.hk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64391@debbugs.gnu.org, gregory@heytings.org To: Andrew Cohen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 10:09:16 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 1qFVfP-0003U8-MW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 10:09:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFVfE-0005yG-No; Sat, 01 Jul 2023 04:09: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 1qFVfC-0005y2-Ex for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 04:09: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 1qFVfC-0007k5-5h for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 04:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFVfB-0004lj-PC; Sat, 01 Jul 2023 04:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 01 Jul 2023 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64391 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 64391-submit@debbugs.gnu.org id=B64391.168819891918301 (code B ref 64391); Sat, 01 Jul 2023 08:09:01 +0000 Original-Received: (at 64391) by debbugs.gnu.org; 1 Jul 2023 08:08:39 +0000 Original-Received: from localhost ([127.0.0.1]:56396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFVep-0004l7-1V for submit@debbugs.gnu.org; Sat, 01 Jul 2023 04:08:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFVen-0004kt-HZ for 64391@debbugs.gnu.org; Sat, 01 Jul 2023 04:08:38 -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 1qFVeg-0007Yv-PC; Sat, 01 Jul 2023 04:08:30 -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=omI1euf0kXT4rmfNTVRTKbiMw97F/jNDhIGTwb2kNnc=; b=HIMPHmxiRbue PaL3xXvRHAwiZ7INhryg+8AHY9RLcM4UCW74Zk8WU4p3WKihupdv5azs+gILFZlYzQNbbcKnEj8V6 mVDhL8fqKospsNu9Fw/lnnCiPR/dvLXqGjwAtYeJx/GIYs3vwJe4XuaDUKrkY/UJ/KFFNhicDJbo6 5CTjWqFVs9zT9qAgeYuGHmPdj3KqUGFposcvRcGSHaTXoDxGxqBNdTwoYKlyxJW4xiLZSamaaqvYm 289xEmMWt9jh8aq08hcMfrHSEtHKyhQwSgFDPfTMbodmPian/oCscGDkMtFvNskCXU5WKC54BOuWM jaBTtyZRkBaB4nl9+Dc5MQ==; 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 1qFVeg-0008DQ-6j; Sat, 01 Jul 2023 04:08:30 -0400 In-Reply-To: <87mt0gaxzq.fsf@ust.hk> (message from Andrew Cohen on Sat, 01 Jul 2023 15:31:53 +0800) 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:264364 Archived-At: > From: Andrew Cohen > Cc: 64391@debbugs.gnu.org, gregory@heytings.org > Date: Sat, 01 Jul 2023 15:31:53 +0800 > > >>>>> "EZ" == Eli Zaretskii writes: > > EZ> Can you show a profile of the processing that takes a long time? > > Not exactly sure how to answer this. The test case just goes through the > buffer narrowing and widening (without modifying the buffer). This > takes very little time. Then the following takes a very long time: > > (goto-char (point-min)) > (while (not (eobp)) > (delete-char 1) > (forward-line)) I asked for the profile produce by "M-x profiler-start RET RET" for this very long processing. is it feasible to produce such a profile?