From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sun, 14 Aug 2022 15:15:03 -0400 Message-ID: References: <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> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <83wnbckp0q.fsf@gnu.org> <8e884ebe-2d2e-d599-15c3-a5cfe5e6b295@yandex.ru> <83o7wnl7ok.fsf@gnu.org> <036414cc-c711-efaf-ed5b-f8ccfaca0604@yandex.ru> <5900f20836753183a6ac@heytings.org> <5c22e38a-5dcd-860e-28a0-b4a5ede6a21b@yandex.ru> <5900f20836a1841a9a36@heytings.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14909"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Dmitry Gutov To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 14 21:16:14 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 1oNJ5p-0003gn-4R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 21:16:13 +0200 Original-Received: from localhost ([::1]:38800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNJ5o-00071L-1e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 15:16:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNJ5e-0006zJ-2k for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 15:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNJ5d-0001fl-Q9 for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 15:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNJ5d-0001UY-KW for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2022 19:16: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.16605045205686 (code B ref 56682); Sun, 14 Aug 2022 19:16:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 14 Aug 2022 19:15:20 +0000 Original-Received: from localhost ([127.0.0.1]:39951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNJ4y-0001Te-GZ for submit@debbugs.gnu.org; Sun, 14 Aug 2022 15:15:20 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNJ4u-0001TJ-Ru for 56682@debbugs.gnu.org; Sun, 14 Aug 2022 15:15:19 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 2F5BD4409A1; Sun, 14 Aug 2022 15:15:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8F2C544094C; Sun, 14 Aug 2022 15:15:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1660504505; bh=m5yXY3hnjG/Vl9qmr3WxMq9QhN4u7F9bs3wEqfOGAvQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XdNQJJvMhigP+NEZOlU2ew2dShsqOrGGorpTDLjWJb7+YMgqqQWhs0JQDbfr41ndq xOubPy5klki5+qO+U1tJGBdtbCXdD6RxW7Fl6EhXQbftnE/1jBskO0ot5qtoEAJ95j OUk2KPKT6Get0HnQtixHOHJDEIAtFFSxKPY5UmMf+rDK+os6L4HHhVQ6BYuZqeiSjL qDJCEQrpQbpiHCxaFc+4egrP2k2Af8FaBRsUMXD5srj9oDoRwILeYS2CYL7ZKVswQd Hii4q7Fo82KUSL2YyCp7vCG8eAvseKU/LCOb/Aztj9nsayCm6/cuk2b40QFjmtuAL9 heEtpm5zMNTog== Original-Received: from pastel (unknown [45.72.195.111]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 24D7C12039E; Sun, 14 Aug 2022 15:15:05 -0400 (EDT) In-Reply-To: <5900f20836a1841a9a36@heytings.org> (Gregory Heytings's message of "Sun, 14 Aug 2022 18:47:10 +0000") 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:239699 Archived-At: >>> Or when you have a slower CPU, with moderately large files. >> I doubt there are any CPUs in wide use that are even 5x slower than mine. > Have a look at e.g. https://www.cpubenchmark.net/singleThread.html , you'll > see that many CPUs in wide use are 5x slower, or more than 5x slower, than > your CPU. Which one of those CPUs that are 5x slower than the top performer do you consider as being "in wide use"? AFAICT the highest score there is 4400. So 5x slower would mean a score below 880. My 2006-vintage Thinkpad T60 is just below at 848. But my T61 (released in 2007, tho I bought it refurbished in 2012) is already rated at 1K. Admittedly, these were top-of-the-line machines when they were released, and are hence faster than many machine released later (e.g. netbooks), but still: I have seen *very* few people recently using machines slower than my T61. I don't know what machine Dmitry is using, but based on that "cpubenchmark" data I'd indeed be very surprised if "there are any CPUs in wide use that are even 5x slower than" his. Stefan