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.devel Subject: Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7% Date: Mon, 06 Sep 2021 22:23:01 +0300 Message-ID: <83a6kpqzje.fsf@gnu.org> References: <835yvgwdxb.fsf@gnu.org> <8335qkwddv.fsf@gnu.org> <83wnnwuxkj.fsf@gnu.org> <838s0armbl.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22295"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 06 21:24:28 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mNKEG-0005aU-Gq for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Sep 2021 21:24:28 +0200 Original-Received: from localhost ([::1]:33042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNKEF-0004Kr-8D for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Sep 2021 15:24:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNKCm-0002xS-Rp for emacs-devel@gnu.org; Mon, 06 Sep 2021 15:22:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50330) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNKCk-00047Z-HU; Mon, 06 Sep 2021 15:22:55 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3661 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 1mNKCk-0000jb-3p; Mon, 06 Sep 2021 15:22:54 -0400 In-Reply-To: (message from Alan Mackenzie on Mon, 6 Sep 2021 19:08:45 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274170 Archived-At: > Date: Mon, 6 Sep 2021 19:08:45 +0000 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Alan Mackenzie > > (It is notable that redisplay is quite a bit slower in X at 54 lines > than on a Linux console at 65 lines.) That's expected: TTY display skips some stuff that is only needed on GUI frames, so it's faster. > So, based on these timings, I would suggest a new jit-lock-chunk-size of > 1500. Agreed. Please be sure to include a reference to this message in the commit log message, when you install the change. Thanks.