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: Alan Third
Subject: Re: macOS metal rendering engine in mac port
Date: Thu, 27 May 2021 18:40:54 +0100

On Thu, May 27, 2021 at 07:55:41PM +0300, Eli Zaretskii wrote:
> > Date: Tue, 25 May 2021 13:56:43 +0100
> > From: Alan Third <alan@idiocy.org>
> > Cc: Aaron Jensen <aaronjensen@gmail.com>, emacs-devel@gnu.org,
> >     mituharu@math.s.chiba-u.ac.jp
> > 
> > In fact, I just ran the highlight-regexp test on a GTK build that's
> > definitely built with GCC and -Q I got:
> > 
> > without:
> > 
> > 3.2s 3.0s 3.3s
> > 
> > with:
> > 
> > 3.7s 3.7s 4s
> 
> So I'm sure I understand: it takes you just 3 seconds to scroll
> through all of xdisp.c, top to bottom, with the command below?
> 
> (defun scroll-up-benchmark ()
>   (interactive)
>   (let ((oldgc gcs-done)
>         (oldtime (float-time)))
>     (condition-case nil (while t (scroll-up) (redisplay))
>       (error (message "GCs: %d Elapsed time: %f seconds"
>                       (- gcs-done oldgc) (- (float-time) oldtime))))))

Yes, although the initial run through, where the file is font-locked,
is more like 22 seconds. I didn't count that, am I measuring this wrongly?
-- 
Alan Third



reply via email to

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