From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: macOS metal rendering engine in mac port Date: Thu, 27 May 2021 19:55:41 +0300 Message-ID: <83mtsg86b6.fsf@gnu.org> References: <83pmxgc681.fsf@gnu.org> <83mtskc4zl.fsf@gnu.org> <83lf84c4p7.fsf@gnu.org> <83k0nncznr.fsf@gnu.org> <279F3242-E556-42C9-8489-4DD8F538938E@gnu.org> <83bl8zc8ku.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mituharu@math.s.chiba-u.ac.jp, aaronjensen@gmail.com, emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 27 18:56:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmJJN-0002M8-Ko for ged-emacs-devel@m.gmane-mx.org; Thu, 27 May 2021 18:56:45 +0200 Original-Received: from localhost ([::1]:48030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmJJM-0002Kn-NQ for ged-emacs-devel@m.gmane-mx.org; Thu, 27 May 2021 12:56:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmJIH-0001Fi-RU for emacs-devel@gnu.org; Thu, 27 May 2021 12:55:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53926) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmJIG-00007s-SL; Thu, 27 May 2021 12:55:36 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1141 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmJIG-00075P-EZ; Thu, 27 May 2021 12:55:36 -0400 In-Reply-To: (message from Alan Third on Tue, 25 May 2021 13:56:43 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269950 Archived-At: > Date: Tue, 25 May 2021 13:56:43 +0100 > From: Alan Third > Cc: Aaron Jensen , 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))))))