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: macOS metal rendering engine in mac port Date: Fri, 28 May 2021 22:00:58 +0300 Message-ID: <83r1hq7ket.fsf@gnu.org> References: <83k0nncznr.fsf@gnu.org> <279F3242-E556-42C9-8489-4DD8F538938E@gnu.org> <83bl8zc8ku.fsf@gnu.org> <83mtsg86b6.fsf@gnu.org> <83k0nk83w2.fsf@gnu.org> <83im3480ks.fsf@gnu.org> <83h7io7zhx.fsf@gnu.org> <83sg267nb1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5495"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 28 21:03:04 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 1lmhl9-000183-FB for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 21:03:03 +0200 Original-Received: from localhost ([::1]:55020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmhl7-0007u8-ID for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 15:03:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmhj7-0006Q9-3j for emacs-devel@gnu.org; Fri, 28 May 2021 15:00:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39108) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmhj5-0003dn-7Z; Fri, 28 May 2021 15:00:55 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2506 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 1lmhj3-0003AS-UR; Fri, 28 May 2021 15:00:55 -0400 In-Reply-To: (message from Aaron Jensen on Fri, 28 May 2021 11:21:18 -0700) 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:270019 Archived-At: > From: Aaron Jensen > Date: Fri, 28 May 2021 11:21:18 -0700 > Cc: Alan Third , emacs-devel@gnu.org, > YAMAMOTO Mitsuharu > > > > All my recent times are on unoptimized and on Emacs 28. I'm building > > > the default architecture on macOS, which I imagine is 64 bit. > > I must have written this in a rush. I build optimized, not unoptimized. I can show times from an optimized build of Emacs 27.2. I don't have optimized builds of Emacs 28 yet. > > Note that I don't consider this (i.e. scrolling through a buffer that > > was already completely font-locked in advance) an important use case > > for the redisplay purposes, because with today's JIT font-lock this > > almost never happens. > > Is that because the font-locking gets garbage collected over time? No, because JIT font-lock only fontifies what you display, and files of significant size are almost never displayed in their entirety. You only display what you work on. > And I agree, I don't think holding the scroll button down to get to > the bottom of the file is an important use case. It's just been used > as a proxy for rendering performance/framerate testing. That's not my point: scrolling through an unfontified buffer is definitely an important use case.