From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: macOS metal rendering engine in mac port Date: Thu, 27 May 2021 18:40:54 +0100 Message-ID: References: <83mtskc4zl.fsf@gnu.org> <83lf84c4p7.fsf@gnu.org> <83k0nncznr.fsf@gnu.org> <279F3242-E556-42C9-8489-4DD8F538938E@gnu.org> <83bl8zc8ku.fsf@gnu.org> <83mtsg86b6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mituharu@math.s.chiba-u.ac.jp, aaronjensen@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 27 19:43:13 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 1lmK2K-00017O-Gp for ged-emacs-devel@m.gmane-mx.org; Thu, 27 May 2021 19:43:12 +0200 Original-Received: from localhost ([::1]:42126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmK2J-0005Lo-DB for ged-emacs-devel@m.gmane-mx.org; Thu, 27 May 2021 13:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmK0O-0002nH-8V for emacs-devel@gnu.org; Thu, 27 May 2021 13:41:12 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:2d:8::218]:46239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmK0K-0001DU-KQ; Thu, 27 May 2021 13:41:11 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id A130260561; Thu, 27 May 2021 17:40:58 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1622137257; bh=pK1IeqjQWACXkidSUH9j61yhKxiMHEll7gPO9EBVjZg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OPy2Dxqq3YG3YpaV+Rf4ktOodSGjXUNvFpRizYnDzm13P7XBz9vTP1pjvo7LW1H+A wYneJrtKvJsUgOCOyXdUt6lrpaTOu+PT/rYMyKf9K1AEYUjcIlMV33KfsKAty6Lf3l PLI21VcrWOXgGFLg4PcJJh6sCbyNg/T5fJ3k77Vmhd8Fiha9GTvf1ce4pk6ZZJ6U2T kEf1QxIUiaqNR0yMB3rwcRXj8XnxfXes0b/WE2nYzKxJAs0CGGuQgGJiQhxkcU6wm8 bMnGVdU+dHFYBZHnYOR1YSjJ6zsu1KInO8+SyKhZa5AwCz/3hX5BzfmdwtSQ6maehk vWcAVb6dLYquQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1lmK06-000HVY-Fu; Thu, 27 May 2021 18:40:54 +0100 Mail-Followup-To: Alan Third , Eli Zaretskii , aaronjensen@gmail.com, emacs-devel@gnu.org, mituharu@math.s.chiba-u.ac.jp Content-Disposition: inline In-Reply-To: <83mtsg86b6.fsf@gnu.org> Received-SPF: pass client-ip=2a01:4f8:fff0:2d:8::218; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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:269954 Archived-At: 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 > > 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)))))) 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