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: Mon, 24 May 2021 19:28:56 +0300 Message-ID: <831r9wdrjr.fsf@gnu.org> References: <831r9xjrho.fsf@gnu.org> <5754E85B-9840-416B-B9C1-E6B2B1FC0114@gnu.org> <80A25FCA-2CF4-433F-B82F-4B37ED5BC6DC@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27684"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 24 18:30:11 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 1llDT0-0006xt-5V for ged-emacs-devel@m.gmane-mx.org; Mon, 24 May 2021 18:30:10 +0200 Original-Received: from localhost ([::1]:39178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llDSx-0000hD-Gp for ged-emacs-devel@m.gmane-mx.org; Mon, 24 May 2021 12:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llDRu-0008QE-IT for emacs-devel@gnu.org; Mon, 24 May 2021 12:29:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42928) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llDRs-0000Ir-8E; Mon, 24 May 2021 12:29:00 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2277 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 1llDRr-0000mi-JT; Mon, 24 May 2021 12:29:00 -0400 In-Reply-To: (message from Aaron Jensen on Mon, 24 May 2021 08:32:35 -0700) 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:269774 Archived-At: > From: Aaron Jensen > Date: Mon, 24 May 2021 08:32:35 -0700 > Cc: emacs-devel@gnu.org, Alan Third , > YAMAMOTO Mitsuharu > > > How many times is it called with line numbers turned off, and what is the increase in the number of calls due to line numbers in percents? Does it come anywhere near the slowdown shown in your benchmarks? > > With it turned off, merge_faces was called 40 times. > lface_from_face_name_no_resolve was called 143,308 times. > > With it on, merge_faces was called 147,882 times and > lface_from_face_name_no_resolve was called 661,238 > > merge_faces: 369705% more calls > lface_from_face_name_no_resolve: 461% more calls Which faces are the those for which merge_faces was called 40 times, and which faces are those for which it was called 147,882 times. Also, what did Emacs do when you collected these numbers, and in which buffer under what major mode?