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: Thu, 27 May 2021 20:47:57 +0300

> Date: Thu, 27 May 2021 18:40:54 +0100
> From: Alan Third <alan@idiocy.org>
> Cc: aaronjensen@gmail.com, emacs-devel@gnu.org,
>       mituharu@math.s.chiba-u.ac.jp
> 
> > > 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?

Yes, I meant to measure just the first scroll, and restart Emacs each
time before another measurement.

So maybe we were comparing apples and oranges all the time.



reply via email to

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