emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macOS metal rendering engine in mac port


From: Eli Zaretskii
Subject: Re: macOS metal rendering engine in mac port
Date: Sun, 30 May 2021 19:35:40 +0300

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Sun, 30 May 2021 09:16:53 -0700
> Cc: Alan Third <alan@idiocy.org>, emacs-devel@gnu.org
> 
> > > > In an unoptimized build, "emacs -Q", without native-compilation, I get
> > > > 26.39 and 27.22 sec, respectively.
> > >
> > > My emacs -Q is 6s and 6.32s, respectively.
> >
> > A similar (and minor) slowdown, in relative terms.
> 
> Yes, which, just for my own edification, we can attribute to fewer
> faces in the alist ahead of the line number faces, right?

Yes, I think so.

> > Not a full redisplay, but it does redisplay the header line in
> > addition to the point's line, and displaying the header line most
> > probably needs more face-merging.
> 
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]