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: The Emacs master is much slower than the emacs-27 branch. Date: Fri, 04 Dec 2020 15:28:06 +0200 Message-ID: <83blf9em55.fsf@gnu.org> References: <877dpyzg9d.fsf@rub.de> <87czzpsyqn.fsf@gmx.net> <83o8j9eqwx.fsf@gnu.org> <874kl1spe9.fsf@gmx.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 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 14:30:42 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 1klBAX-0007ep-Tn for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 14:30:41 +0100 Original-Received: from localhost ([::1]:34944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBAW-0003A6-QP for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 08:30:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klB8K-00024c-Nd for emacs-devel@gnu.org; Fri, 04 Dec 2020 08:28:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49638) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klB8J-0001cN-MF; Fri, 04 Dec 2020 08:28:23 -0500 Original-Received: from [176.228.60.248] (port=4337 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1klB8I-00052W-HC; Fri, 04 Dec 2020 08:28:23 -0500 In-Reply-To: <874kl1spe9.fsf@gmx.net> (message from Stephen Berman on Fri, 04 Dec 2020 13:54:06 +0100) 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:260293 Archived-At: > From: Stephen Berman > Cc: acm@muc.de, emacs-devel@gnu.org > Date: Fri, 04 Dec 2020 13:54:06 +0100 > > >> As noted above, I build both master and emacs-27 with CFLAGS='-Og -g3'. > >> Given that, is such a difference still expected? > > > > No. But if you see this consistently, please produce and post the > > profile of each of the versions, and let's take it from there. > > Since the builds I ran the benchmark on were about two weeks old, I > updated both branches now, rebuilt and ran the benchmark again, and got > the same results: ~21 seconds on master, ~61 seconds on emacs-27. > Profiles attached. Thanks. It looks like everything is just two to 3 times slower in Emacs 28 on your system, which is definitely not my experience. Are you sure all the Lisp files are byte-compiled? What happens if you "make bootstrap" in both branches, and then try again?