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#57245: 29.0.50; M-> in a large XML file (without long lines) is slow Date: Tue, 16 Aug 2022 21:59:36 +0300 Message-ID: <83k078dnfr.fsf@gnu.org> References: <18035574-1b50-62f4-7605-8cdb33204535@yandex.ru> <83tu6cdt7l.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10923"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57245@debbugs.gnu.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 21:00:17 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 1oO1nT-0002Zy-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 21:00:15 +0200 Original-Received: from localhost ([::1]:38222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO1nS-0006k9-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 15:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO1nI-0006jv-1n for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 15:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO1nG-0007AP-Sc for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 15:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO1nG-0006bT-Nr for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 15: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, 16 Aug 2022 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57245 X-GNU-PR-Package: emacs Original-Received: via spool by 57245-submit@debbugs.gnu.org id=B57245.166067639625343 (code B ref 57245); Tue, 16 Aug 2022 19:00:02 +0000 Original-Received: (at 57245) by debbugs.gnu.org; 16 Aug 2022 18:59:56 +0000 Original-Received: from localhost ([127.0.0.1]:48332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO1n9-0006ag-FO for submit@debbugs.gnu.org; Tue, 16 Aug 2022 14:59:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO1n7-0006aO-H3 for 57245@debbugs.gnu.org; Tue, 16 Aug 2022 14:59:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO1n2-00071o-1N; Tue, 16 Aug 2022 14:59:48 -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=5GyjZS3eYqdPjO/frkiP4RoThNMMWF5oE3rHvxeWgfE=; b=Ak2Zleh3LkDS nG6cx02Q58d3CsPtMblDGZC+i1JtRP71BZQdikvgyjxt/ti6qgoFXLCGYYDmZyvR1dMVeJhD2BfCI 37Ty+sFHd2x07NpbhfM1zrqXurGNkmPXtmRv7dyeckcNQa7gjLlTDXfHL/stdAz5vk2pFWWOe9n3N l+Q7Fl2kyYOR0ZmJsCgKbrhfxJIQsbde31Y4D8rNxLLbdaCu0YY3OKN2C8UhkIiAxL/TYSqNIVfF8 jnH3jXF3pA7OEoDHBBCx5i44O1Rv8WAY+zyfRQRjbkCiF4SC8BtWqWu2PvzrelzEsDXJrHqB41ePX y0MJERxvvupYGoHoPltuaw==; Original-Received: from [87.69.77.57] (port=3218 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 1oO1n1-0002ju-Ft; Tue, 16 Aug 2022 14:59:47 -0400 In-Reply-To: (message from Stefan Monnier on Tue, 16 Aug 2022 14:40:33 -0400) 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:239992 Archived-At: > From: Stefan Monnier > Cc: Dmitry Gutov , 57245@debbugs.gnu.org > Date: Tue, 16 Aug 2022 14:40:33 -0400 > > > What the above profile doesn't show is that this code creates > > tons of garbage, so GC is called a lot, and adds its share of > > slowdown. > > Hmm... I wonder where this might come from. Run the recipe with a watchpoint on consing_until_gc, and you will see.