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: Sun, 30 May 2021 20:18:43 +0300 Message-ID: <83sg242l8s.fsf@gnu.org> References: <83k0ni6pje.fsf@gnu.org> <83eedq6mvm.fsf@gnu.org> <83zgwd6gk3.fsf@gnu.org> <83bl8t5vu6.fsf@gnu.org> <83a6od5tqh.fsf@gnu.org> <834kel5qp3.fsf@gnu.org> <83zgwd489j.fsf@gnu.org> <83sg244tyk.fsf@gnu.org> <83fsy44l7y.fsf@gnu.org> <83wnrg2oq9.fsf@gnu.org> <83v9702n8j.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31516"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 30 19:19:42 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 1lnP6D-00081c-6S for ged-emacs-devel@m.gmane-mx.org; Sun, 30 May 2021 19:19:41 +0200 Original-Received: from localhost ([::1]:34824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnP6C-0006S2-5I for ged-emacs-devel@m.gmane-mx.org; Sun, 30 May 2021 13:19:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnP59-00056c-Fo for emacs-devel@gnu.org; Sun, 30 May 2021 13:18:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42836) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnP58-0000iF-1J; Sun, 30 May 2021 13:18:34 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2777 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 1lnP57-0003zq-KP; Sun, 30 May 2021 13:18:33 -0400 In-Reply-To: (message from Aaron Jensen on Sun, 30 May 2021 10:00:00 -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:270138 Archived-At: > From: Aaron Jensen > Date: Sun, 30 May 2021 10:00:00 -0700 > Cc: Alan Third , emacs-devel@gnu.org > > > (gdb) break lface_from_face_name_no_resolve > > (gdb) commands > > > pp face_name > > > continue > > > end > > This is a sampling of some of the faces and their counts. It's only > about 300 of the 1300, I'm having tmux copy/paste trouble: > > 41 default > 6 font-lock-builtin-face > 4 font-lock-comment-delimiter-face > 7 font-lock-comment-face > 1 font-lock-function-name-face > 6 font-lock-preprocessor-face > 12 font-lock-string-face > 1 font-lock-variable-name-face These are expected: they are faces used by buffer text. > 1 header-line Also expected. > 41 line-number > 20 line-number-current-line Expected when line numbers are displayed. > 48 nano-face-faded > 21 nano-face-header-ancillary > 13 nano-face-header-default > 5 nano-face-header-faded > 12 nano-face-header-strong > 12 nano-face-popout > 6 nano-face-salient > 14 nano-face-strong These are most probably due to massive inheritance in the nano theme. > 41 shadow This is because line-number and line-number-current-line inherit from shadow. > When emacs is idle, it seems to spam face lookups continuously. Here's > a sample of that: Is this "emacs -Q"? If so, does it help to disable blink-cursor-mode and global-eldoc-mode? FWIW, I don't see any "spamming" like you do. If the above 2 minor modes don't explain that, I would be interested to see backtraces from some of these lookups.