From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: The Emacs master is much slower than the emacs-27 branch. Date: Fri, 4 Dec 2020 09:04:49 +0000 Message-ID: References: <877dpyzg9d.fsf@rub.de> 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="14702"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 10:05:50 2020 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 1kl72D-0003jC-W5 for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 10:05:49 +0100 Original-Received: from localhost ([::1]:34022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl72C-0003OU-VC for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 04:05:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl71L-0002wh-7F for emacs-devel@gnu.org; Fri, 04 Dec 2020 04:04:55 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:47881 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kl71I-0008Qe-Tk for emacs-devel@gnu.org; Fri, 04 Dec 2020 04:04:54 -0500 Original-Received: (qmail 33982 invoked by uid 3782); 4 Dec 2020 09:04:49 -0000 Original-Received: from acm.muc.de (p4fe158a9.dip0.t-ipconnect.de [79.225.88.169]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Fri, 04 Dec 2020 10:04:49 +0100 Original-Received: (qmail 4244 invoked by uid 1000); 4 Dec 2020 09:04:49 -0000 Content-Disposition: inline In-Reply-To: <877dpyzg9d.fsf@rub.de> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:260276 Archived-At: Hello, Steve. On Thu, Dec 03, 2020 at 23:17:18 +0100, Stephen Berman wrote: > On Thu, 3 Dec 2020 18:15:30 +0000 Alan Mackenzie wrote: > > Hello, Emacs. > > I've got pretty much up to date copies of both the master and the > > emacs-27 branches. > > When I run my customary benchmark (see below) on master's src/xdisp.c in > > master, it's taking around 34s. On emacs-27, it's taking 22s. > Hm, this is odd: I just ran your benchmark on src/xdisp.c (starting > Emacs with -Q, both configured with CFLAGS='-Og -g3') and got vastly > different timings than you did: > master: 21.785817861557007 > emacs-27: 61.3885281085968 Maybe the emacs-27 is built without optimisation for debugging. > This is with: > GNU Emacs 28.0.50 (build 42, x86_64-pc-linux-gnu, GTK+ Version 3.24.17, > cairo version 1.17.3) of 2020-11-21 > emacs-repository-version: "0a8cd0116204354e95fbb4ebde64c58123502aa2" > and > GNU Emacs 27.1.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.24.17) > of 2020-11-21 > emacs-repository-version: "3ceee398192e312faa3ea073365c49bcce9ef61b" > Steve Berman -- Alan Mackenzie (Nuremberg, Germany).