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 19:55:41 +0300

> 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))))))



reply via email to

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