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: Sat, 29 May 2021 12:41:37 +0300 Message-ID: <83tuml6fn2.fsf@gnu.org> References: <83k0ni6pje.fsf@gnu.org> <83eedq6mvm.fsf@gnu.org> <83zgwd6gk3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: aaronjensen@gmail.com, emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 11:42:20 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 1lmvU3-0000Ui-PS for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 11:42:19 +0200 Original-Received: from localhost ([::1]:34460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmvU2-0001iw-Pd for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 05:42:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmvTF-00012s-6b for emacs-devel@gnu.org; Sat, 29 May 2021 05:41:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39676) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmvTE-0006Yq-Dh; Sat, 29 May 2021 05:41:28 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1710 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 1lmvTD-0007gS-W7; Sat, 29 May 2021 05:41:28 -0400 In-Reply-To: (message from Alan Third on Sat, 29 May 2021 10:35:03 +0100) 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:270047 Archived-At: > Date: Sat, 29 May 2021 10:35:03 +0100 > From: Alan Third > Cc: Aaron Jensen , emacs-devel@gnu.org > > > > Oh, and even with my config, with line numbers, in a ruby file, I'm > > > seeing 60-80ms latency with my measuring app. > > > > Compared to what latency without line numbers? 60-80ms is quite a lot > > for redisplay, but I don't really have a clear picture of how that > > works on NS. > > FWIW, on my Mac I put some timings into the display code and from the > moment we receive a keyDown notification to the moment we hand off the > drawn buffer to the system for display takes around 3-6ms, so unless > Aaron's system is very different from mine, most of that time is spent > in places we can't do much about. The question is: is this 3 to 6ms delay affected in any way by turning on line numbers? If not, then not only don't I understand why line numbers affect the latency, I also don't understand how come the number of faces affects that.