[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macOS metal rendering engine in mac port
From: |
Aaron Jensen |
Subject: |
Re: macOS metal rendering engine in mac port |
Date: |
Sun, 30 May 2021 10:00:00 -0700 |
On Sun, May 30, 2021 at 9:35 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > When displaying column number and moving my point to the left, I get
> > about 1300 face lookups. When not displaying column number, I get 30.
> > This is with my config, with line numbers on.
>
> Look at the faces for which lface_from_face_name_no_resolve is called,
> and see what that tells you.
>
> (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
1 header-line
41 line-number
20 line-number-current-line
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
41 shadow
When emacs is idle, it seems to spam face lookups continuously. Here's
a sample of that:
48 default
5 font-lock-builtin-face
6 font-lock-comment-delimiter-face
10 font-lock-comment-face
1 font-lock-constant-face
3 font-lock-function-name-face
1 font-lock-negation-char-face
5 font-lock-preprocessor-face
5 font-lock-string-face
3 font-lock-variable-name-face
1 header-line
48 line-number
24 line-number-current-line
59 nano-face-faded
21 nano-face-header-ancillary
13 nano-face-header-default
5 nano-face-header-faded
12 nano-face-header-strong
5 nano-face-popout
6 nano-face-salient
18 nano-face-strong
48 shadow
- Re: macOS metal rendering engine in mac port, (continued)
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/30
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/30
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/30
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port,
Aaron Jensen <=
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/30
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Aaron Jensen, 2021/05/30
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/30
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Alan Third, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29
- Re: macOS metal rendering engine in mac port, Eli Zaretskii, 2021/05/29