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: Wed, 17 Aug 2022 15:16:08 +0300 Message-ID: <83wnb7cbg7.fsf@gnu.org> References: <18035574-1b50-62f4-7605-8cdb33204535@yandex.ru> <83tu6cdt7l.fsf@gnu.org> <913e0b46-7145-d39d-1fcd-bc17094e28f2@yandex.ru> <6688b0ad-54e1-4a59-e9b6-4cdc803a8359@yandex.ru> <4e2838b5-109e-7a27-0230-29dc6624b751@yandex.ru> <83bksjdru1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12513"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57245@debbugs.gnu.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 14:18:28 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 1oOI0B-000369-0N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 14:18:27 +0200 Original-Received: from localhost ([::1]:41908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOI09-0002BT-JZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 08:18:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHyo-0001tZ-E2 for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 08:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOHyo-0005dP-4i for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOHyo-0008O3-0c for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 08:17: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: Wed, 17 Aug 2022 12:17:01 +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.166073859832202 (code B ref 57245); Wed, 17 Aug 2022 12:17:01 +0000 Original-Received: (at 57245) by debbugs.gnu.org; 17 Aug 2022 12:16:38 +0000 Original-Received: from localhost ([127.0.0.1]:49702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOHyQ-0008NK-7a for submit@debbugs.gnu.org; Wed, 17 Aug 2022 08:16:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOHyO-0008N8-Q5 for 57245@debbugs.gnu.org; Wed, 17 Aug 2022 08:16:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOHy7-0005Q1-BE; Wed, 17 Aug 2022 08:16:31 -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=KGpazaUC66YMdiee0bUeU5z3Tyb0SqwL/y/xH80yqRY=; b=IlrjhwOXU8ew GvlzP6kcl8THtXKsi23LQZKSRG5MRZtauS2sGZ6g+r3X2zJAl8ZgRJUAZigeBTfnLmKt+A39vf6M6 fMvicM84pN8eLJXXq61NEwXrztiuYYvTc5OzIWGZFZP5NaBJv4M0Ii2odw3uNIhgs1od4qyNooN5q Auaxi5Rjq+EIW9Jon6NTWNH4YAgVKH8Y0QS3UI56svVL8wFFUZ8UvJo+jq5c3lGQCmWOjw03uXTbn oFwu1G4WMSYWTgrrPnzZHOhiJOeJjrz8+ZDBlu17KajsGIhqpvs8EA+GPsj1xkKmZXWx2dvE7Osl5 73ZN4pa2XC3XvZClpDjkHw==; Original-Received: from [87.69.77.57] (port=2549 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 1oOHy5-0003Jb-VT; Wed, 17 Aug 2022 08:16:19 -0400 In-Reply-To: (message from Dmitry Gutov on Wed, 17 Aug 2022 14:46:46 +0300) 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:240063 Archived-At: > Date: Wed, 17 Aug 2022 14:46:46 +0300 > Cc: 57245@debbugs.gnu.org, monnier@iro.umontreal.ca > From: Dmitry Gutov > > On 17.08.2022 14:36, Eli Zaretskii wrote: > >> Date: Wed, 17 Aug 2022 01:20:38 +0300 > >> Cc: Eli Zaretskii , 57245@debbugs.gnu.org > >> From: Dmitry Gutov > >> > >> Otherwise, syntax-wholeline-max seems to be doing its job fine: if I > >> comment out the narrowing code in handle_fontified_prop (or switch to > >> the branch I posted previously), two XML files -- one with long lines > >> and one without (the files differ only by addition of newlines) -- show > >> approximately the same delay on M->. > > > > Doesn't syntax-wholeline-max only affect long lines? > > Its purpose is to handle the slowdown which occurred specifically on > long lines because of > font-lock-extend-region-functions/syntax-propertize-extend-region-functions. > Now that it works -- I don't see any particular slowdowns on long lines, > even with narrowing disabled. > > And the performance of M-> depends solely on the size of a file. In my > XML test files, at least. Is that a yes? Because if it is, then what does this have to do with the issue of nXML not being scalable enough?