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: [NS] Emacs 28 (IOSurface) renders much slower than Emacs 27 on macOS Big Sur Date: Thu, 3 Jun 2021 22:41:11 +0100 Message-ID: References: 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="11591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yiming Chen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 03 23:42:18 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 1lov6X-0002rC-4d for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Jun 2021 23:42:17 +0200 Original-Received: from localhost ([::1]:47236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lov6W-0003U2-1S for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Jun 2021 17:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lov5h-0001eX-Ec for emacs-devel@gnu.org; Thu, 03 Jun 2021 17:41:25 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:60353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lov5f-0000gy-25 for emacs-devel@gnu.org; Thu, 03 Jun 2021 17:41:24 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (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 DB5D56004F; Thu, 3 Jun 2021 21:41:13 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1622756473; bh=9/MWCmE7Q/dMaZNhO7HYlNPEbxluqJxgXV5MqFm2Zws=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ddOc2KPL9JjP2MzL+mV4AuXAOSEtFgQdhZ4UKIwx8b9jp3lnjG8v+8N/oyqNqH+w2 cP93568zjnCThw9tdBNql5NmjzN98FA4Xe+nJyuG/f5oslJEv+IcF+i0O+8Kwiu3u6 N0hQpwCXlI0Efp6X8GKgdZrVyyZp0NGYGBf0rgpl6bvwaurHJT0RgtyHISCLXyXgm1 /zXo9Zmnm44YcWjP6t7pqmXqg1vMeZyfLW+J+lRJF1rH0CFeUeB3QJAC1laWvFYLOc qtLVd2IhhvRNmJMZeHNznn5sI9pmjsm0n2TZ94rxtUNa5HdREzG8h1Hx5kW5bWxYwI k3x1yeDrlPx8Q== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1lov5T-000j90-I0; Thu, 03 Jun 2021 22:41:11 +0100 Mail-Followup-To: Alan Third , Yiming Chen , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=116.202.65.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:270355 Archived-At: On Tue, Jun 01, 2021 at 10:29:01AM +0800, Yiming Chen wrote: > Hi Alan, > > Thanks for your reply and sorry for my late response. > > I've been using https://github.com/emacs-mirror/emacs/commit/6f1e1ba633 for > a few days, > and switched to https://github.com/emacs-mirror/emacs/commit/784ec4b752 > today. > > I feel the drawing performance improves a lot in scratch/ns/surface-stuff > branch, > and I can finally see the improvements brought by native-compile. > (since drawing is no longer a bottle-neck, maybe?) Thanks, I'm glad it's made a difference. I've pushed the main bit of the surface-stuff branch into master (246e107d73) and the last commit I had in there is currently sitting in a local branch I'm dedicating to a bit of a refactor of some of the nsterm code. -- Alan Third