From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sat, 13 Aug 2022 17:16:14 +0000 Message-ID: <66bbbb95986014f48e4c@heytings.org> References: <47894c57-dd8b-5778-240a-3fa6540e4d37@yandex.ru> <92da07bd02941d5537e9@heytings.org> <5308e3b5-a160-17d7-77ee-b1d00acfa20d@yandex.ru> <92da07bd02a6cc861e1a@heytings.org> <837d3lzv8n.fsf@gnu.org> <2c8d6755-cfe2-6559-3fde-3fa30ffb411e@yandex.ru> <83mtcgy44k.fsf@gnu.org> <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <83y1vtmjld.fsf@gnu.org> <8868631660327773@iva2-775ff39c77bc.qloud-c.yandex.net> <83pmh4n0t8.fsf@gnu.org> <83a688md9r.fsf@gnu.org> <66bbbb95982d148fd1bc@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uZ21We2vVA" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 13 19:17:41 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 1oMulZ-000AMY-CH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 19:17:41 +0200 Original-Received: from localhost ([::1]:58432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMulX-0003k9-SM for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 13:17:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMul4-0003iA-7j for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 13:17:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMukv-0003q4-RN for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 13:17:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMukv-0006ra-MI for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 13:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2022 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.166041097926329 (code B ref 56682); Sat, 13 Aug 2022 17:17:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 13 Aug 2022 17:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:35004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMukF-0006qa-1l for submit@debbugs.gnu.org; Sat, 13 Aug 2022 13:16:19 -0400 Original-Received: from heytings.org ([95.142.160.155]:51546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMukC-0006qR-HY for 56682@debbugs.gnu.org; Sat, 13 Aug 2022 13:16:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660410975; bh=dDf6CKYDBfxlJvxDTpBIPvPIkk4qBLPk/Nb++gjDFyI=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Zk/ESUYQMyKip+kMv68/aBaaXAkop57ce7dLhek5Rnh2h3muicBqK6MtYle3mkkUQ sg+lUQnGuXMBbTPh236U8JrPNQznztLkkXp+VOlfwf5ZFKJp/0MulCAi+Ddbiq60yS BWGlNstZrCZg9TsKZDn9yJ3TrGqU9n0nh93qF3W/pQQUn8X+8N5DbAAJVDDlEoY1Ak 7575dN8/g6eOL2COaRHWY6LhSxbLxkOg38VSS2w/79Ig2JW2VvzNZ0+Os9GwfKpwPC /9MVw5yUqwH72jNdwqR7L5xk2HNB/25hHxAFKaIr3Dh5slD6wZj9BAxyuy2QOOaIRt c/6GGiAxPPS/A== In-Reply-To: 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:239571 Archived-At: --uZ21We2vVA Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >> As I just said to Dmitry: the same multi-second delays we saw in=20 >> smaller JSON files.=C2=A0 And those who have a slower CPU will see these= =20 >> multi-second delays with smaller files. > > No exactly the same ones, though, since the previous tests we did were=20 > done with the older version of JSON support (not the current=20 > js-json-mode), with somewhat different performance characteristics. > Okay, not "the same ones", but delays of the same order of magnitude=20 nonetheless. We had that discussion a month ago, and concluded that local= =20 fixes in every major (and minor) modes were not the way to go. Having=20 that discussion again does not seem fruitful. You improved js-mode and=20 created json-mode, that's fine, but it doesn't change anything to the way= =20 all other major (and minor) modes behave. --uZ21We2vVA--