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: Sun, 23 May 2021 21:48:59 +0300 Message-ID: <83y2c5i8v8.fsf@gnu.org> References: <831r9xjrho.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9854"; 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 Sun May 23 20:50:04 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 1lktAq-0002Ky-2L for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 20:50:04 +0200 Original-Received: from localhost ([::1]:42222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lktAp-0001pS-5z for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 14:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkt9n-0000no-N5 for emacs-devel@gnu.org; Sun, 23 May 2021 14:49:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40222) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkt9l-0004rI-Uw; Sun, 23 May 2021 14:48:57 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2236 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 1lkt9l-0008L4-BS; Sun, 23 May 2021 14:48:57 -0400 In-Reply-To: (message from Aaron Jensen on Sun, 23 May 2021 11:38:22 -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:269690 Archived-At: > From: Aaron Jensen > Date: Sun, 23 May 2021 11:38:22 -0700 > Cc: Alan Third , emacs-devel@gnu.org, > YAMAMOTO Mitsuharu > > > Is this in "emacs -Q"? And which file and in what major mode did you > > scroll through? > > No, it was in my config. In emacs -Q the difference isn't as stark and > it's quite a bit faster which has me wondering what the heck in my > config could slow things down that much. > > line numbers: 1.54s > no line numbers: 1.37s Still too much. What mode of display-line-numbers do you use? is it the default or something else? > The file is a private ruby file that's copy pasted enough times to > make it 11k lines long. I was using enh-ruby-mode with my config but > regular ruby-mode doesn't make any difference. Try with xdisp.c, that's what I was using.