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: Tue, 25 May 2021 13:23:41 +0100 Message-ID: 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> 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="39891"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mituharu@math.s.chiba-u.ac.jp, Aaron Jensen , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 25 15:33:17 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 1llXBM-000AEi-N0 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 15:33:16 +0200 Original-Received: from localhost ([::1]:41896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llXBL-0008C4-Qb for ged-emacs-devel@m.gmane-mx.org; Tue, 25 May 2021 09:33:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llXAB-0006sr-WB for emacs-devel@gnu.org; Tue, 25 May 2021 09:32:04 -0400 Original-Received: from [217.169.17.33] (port=58933 helo=breton.holly.idiocy.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llXA9-0004Sm-8V; Tue, 25 May 2021 09:32:03 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 29093202C270B1; Tue, 25 May 2021 13:23:41 +0100 (BST) Mail-Followup-To: Alan Third , Eli Zaretskii , Aaron Jensen , emacs-devel@gnu.org, mituharu@math.s.chiba-u.ac.jp Content-Disposition: inline In-Reply-To: <83bl8zc8ku.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 217.169.17.33 (failed) Received-SPF: none client-ip=217.169.17.33; envelope-from=alan@breton.holly.idiocy.org; helo=breton.holly.idiocy.org X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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:269855 Archived-At: On Tue, May 25, 2021 at 03:16:17PM +0300, Eli Zaretskii wrote: > How did you compile Emacs? which compiler and what compiler and linker > switches? And what kind of CPU do you have there? I'm looking for > something that could explain why parts of code that should take like > 20% of the total redisplay time are so dominant in your case. > > Alan, do you see similar numbers (in percents) to what Aaron reports? > Or is that something peculiar to his system? I did some trials last night using the highlight-regexp technique but didn't note the times. They're in the same ball park as Aaron's. Interestingly I also see them on a Debian system, so I just checked and it looks like Emacs is being built with clang there. The NS port can only be built on macOS with clang, so Aaron will be using it. I'll have another look this evening to see if I can rule out clang being responsible. -- Alan Third