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: Tue, 26 Jul 2022 06:53:36 +0000 Message-ID: References: <837d44jr4p.fsf@gnu.org> <83bktghrn0.fsf@gnu.org> <87v8rnc2wp.fsf@gmail.com> <8335erizqh.fsf@gnu.org> <83r12bhgfo.fsf@gnu.org> <83pmhvhg7g.fsf@gnu.org> <83o7xfhfqw.fsf@gnu.org> <8a3eaeef01c9f9aae182@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , visuweshm@gmail.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 26 08:54: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 1oGESY-0003V2-2d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 08:54:26 +0200 Original-Received: from localhost ([::1]:55740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGESW-0000sj-In for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jul 2022 02:54:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGESA-0000rM-M8 for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGESA-0000yd-E7 for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGESA-0005qK-AK for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2022 02:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jul 2022 06:54:02 +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.165881841922431 (code B ref 56682); Tue, 26 Jul 2022 06:54:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 26 Jul 2022 06:53:39 +0000 Original-Received: from localhost ([127.0.0.1]:52054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGERn-0005pi-Jd for submit@debbugs.gnu.org; Tue, 26 Jul 2022 02:53:39 -0400 Original-Received: from heytings.org ([95.142.160.155]:53086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGERl-0005pW-DF for 56682@debbugs.gnu.org; Tue, 26 Jul 2022 02:53:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1658818416; bh=fDdyugeY3zz+FdOuQkrIib3yY5+38lJyzkpc1HAEO24=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=VAxyc38SVHD2X+KbhDhqSoj/nUp4ORcCdmC2lMLz2bDHF3zmJdAsQtJqGOraMsD9E eaDQb7m17SdAmhoF0YiF7e1ZYVvktVjJx1ArQZzMQRnLAOmQyqRxqB1i7xPzK1+HsQ nd0slpGqSQ6WIZmLhI0asdq3k40wX4XyUqvHLr6622L0erQr8obTSi3TDZnD6y+rae AOkaaCddy0UrQqOIGvHno4bSk2sH2rRvNFIt7m1s0q/p0Nz0rlE3907Y8xKqN3W6lx MsjTInGBLsgGHZtqORkgSYJYYIlOPT0syLs12ro5Km21YwII5kCxv1EZjB2mjmtAk3 xCGwA6qcA1n/g== 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:237927 Archived-At: >> I pushed another improvement to the branch. Now motion in a >> font-locked buffer is almost as fast as in a non font-locked one; I >> don't think it's possible to make further significant improvements. > > Font-lock Scroll-bar Composition Output > ------------------------------------------------------------ > on on on GCs: 13 Elapsed time: 1.632215 seconds > on off on GCs: 1 Elapsed time: 1.433515 seconds > on off off GCs: 2 Elapsed time: 1.209662 seconds > off off off GCs: 2 Elapsed time: 0.524913 seconds > Thanks, this confirms my "almost as fast" feeling and measurements.