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: Aaron Jensen
Subject: Re: macOS metal rendering engine in mac port
Date: Sat, 29 May 2021 14:40:09 -0700

Here's another benchmark:

(defun type-benchmark ()
       (interactive)
       (let ((oldgc gcs-done)
             (oldtime (float-time)))
         (cl-loop for x from 1 to 300 do
                  (insert-char ?j) (redisplay))
         (message "GCs: %d Elapsed time: %f seconds"
                    (- gcs-done oldgc) (- (float-time) oldtime))))

All with Surface stuff branch and -O2.

With Native Comp, Hash, and line numbers: 1630ms
With Native Comp, Hash, and no line numbers: 874ms

With No Native Comp, Hash, and line numbers: 1712ms
With No Native Comp, Hash, and no line numbers: 900ms

With No Native Comp, alist, and line numbers: 2368ms
With No Native Comp, alist, and no line numbers: 1062ms

With Native Comp, alist, and line numbers: 3321ms
With Native Comp, alist, and no line numbers: 1333ms


So according to this, native comp is slower for me in this typing test
but only if alists are used? That's surprising right?



reply via email to

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