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:13:23 +0000 Message-ID: References: <83a6uufxuq.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="8952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 10:14:26 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 1kl7AY-0002Ed-Ea for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 10:14:26 +0100 Original-Received: from localhost ([::1]:38778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl7AX-0005xM-HZ for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 04:14:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl79c-00059P-GC for emacs-devel@gnu.org; Fri, 04 Dec 2020 04:13:28 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:48279 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1kl79a-0002tp-Pg for emacs-devel@gnu.org; Fri, 04 Dec 2020 04:13:28 -0500 Original-Received: (qmail 39135 invoked by uid 3782); 4 Dec 2020 09:13:24 -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:13:23 +0100 Original-Received: (qmail 4292 invoked by uid 1000); 4 Dec 2020 09:13:23 -0000 Content-Disposition: inline In-Reply-To: <83a6uufxuq.fsf@gnu.org> 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:260277 Archived-At: Hello, Eli. On Thu, Dec 03, 2020 at 22:17:33 +0200, Eli Zaretskii wrote: > > Date: Thu, 3 Dec 2020 18:15:30 +0000 > > From: Alan Mackenzie > > 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. I forgot to say, I was using the same build of the same CC Mode version on both. > Optimized builds or unoptimized ones? Both optimised builds. > In unoptimized builds I get almost no difference: Emacs 28 is about 4% > slower than Emacs 27. And the profiles look almost identical. It's strange. But soon after I posted my post, I couldn't see the slow 34s timing any more. But other people have concurred with the problem report. There's something strange happening. -- Alan Mackenzie (Nuremberg, Germany).