From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: The Emacs master is much slower than the emacs-27 branch. Date: Fri, 04 Dec 2020 15:05:54 +0100 Message-ID: <87v9dhr7i5.fsf@gmx.net> References: <877dpyzg9d.fsf@rub.de> <87czzpsyqn.fsf@gmx.net> <83o8j9eqwx.fsf@gnu.org> <874kl1spe9.fsf@gmx.net> <83blf9em55.fsf@gnu.org> <87zh2tr82r.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34214"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: acm@muc.de, 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 15:07:17 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 1klBjw-0008oM-TD for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 15:07:16 +0100 Original-Received: from localhost ([::1]:60808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBjv-00026W-Sr for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 09:07:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klBiw-0000lc-IT for emacs-devel@gnu.org; Fri, 04 Dec 2020 09:06:15 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:33495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klBin-00063x-Km; Fri, 04 Dec 2020 09:06:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607090762; bh=zdRj+UB+cAHUwQHMDfbgJtsTZjFQnGxGiM+xzQm6WIQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Vg9hRo6X/QKVd+F18KCTvwFdlEJthnxtm+3XWx+WZ6WYU3ITJwTi4s0AjhHi23MJb Y8C+Z/ld1A/3TKy/GJ9DntyaxtwyDJ6H1snjlyP1jOQnvrEiV5O2XkWBovpRKd5uMh KNrRy7H+10v8rmKpaIslwHPcADftp2jWIS6w6dAc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.6.218.210]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mw9UK-1jvZ4Y1dg4-00s3dt; Fri, 04 Dec 2020 15:06:02 +0100 In-Reply-To: <87zh2tr82r.fsf@gmx.net> (Stephen Berman's message of "Fri, 04 Dec 2020 14:53:32 +0100") X-Provags-ID: V03:K1:6VrmxsbW2JH9Wfhv/oQdSlil4l4zFX3vqRQnhX8zPzMFuqd7Jon CMCiI5TcMeoYr88nNKfBQtb5fSha8Tz5U7e73bSbRX/nXp4urWplztXRMMn8LYArqdU4qFR jtndzgVdtGdKhR/Wv+4IELuzEnKGSmHVUnykJu7y7MGzNrv/yUIBEBy4S3Xt9RBr2b3waua 3XnOgMQvcIqa8bhd3TyYg== X-UI-Out-Filterresults: notjunk:1;V03:K0:VkZN3BcKFAA=:Y4GIDP7k16wRPLZ+pHEkxg pYHCHJzlZ/IcP8ccVNcyiYdD8JV89LmNix/Kd8FfmdVxnbHLVv8Lqco1kkXckwWZAvC3qcOsR E8xRgzgs52UxAD9S052kNcWcwqfhrbU5mbDHSvRrWzw7T5sBcroMoxRz6UM5h23822lyfdsEm z+p2br3MiITRbS7xsuoKjOC/FezuVuOosspWx5pC/xX5I/0XHcRJIy3oka8vjIARaaA9gFGrU QM6G936lROooQlRq4p3rMfYUi9ERROQlYHGo8fhNyM2JaK/HLuIFGaC77+xfxXsdf3/jsCv8Z iYoMU5XkMPdakoC+UjixcIB6ETr7ZqoC2pveHI5lzplnyABxEqdM4+Nu0bo5kwtJUxAJouGlk YRHuLawa+jFpk9ztkX5q1QFIW9J7KQSfRjis5m1STmKny6NOvhRIY+txHMtWZLS00410IgB2r kztxW75vwfVPKEGIKVYyT4Wz2qRAHKkd4V1c/IK68SRCpX2ccvYLvO0T6j3I2fDLiOaN5yiPX kweQxWT0Tl7yGhYp6WSW2DBujXLwvb/9s92aM4iRpTrkomfFk9yN2qW6Cy1NruOBFIkfDtmVn ho07FRGxWurVYLwC1+ruKoS+jED1m0912YMEshVcNQp1WvQmyXsQd35WfHOQkm01ALr9H3ZoN CWVGlyXsn1LEOzKwJe4rhU0qfvLPdyBu8R3QXokMUWuXnHYkEsA7MYcAvbQpGfXJa1T1JJv/b C04ukOy+k8/TbyA76CQsmJdZZfPHjeTCtcN3tjZmc49h30Ac4/n5JGrhbPzjf9cn17072rWE Received-SPF: pass client-ip=212.227.17.20; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:260297 Archived-At: On Fri, 04 Dec 2020 14:53:32 +0100 Stephen Berman = wrote: > On Fri, 04 Dec 2020 15:28:06 +0200 Eli Zaretskii wrote: > >>> 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=3D'-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 go= t >>> 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. > ^^ > 27 > >> Are you sure all the Lisp files are byte-compiled? What happens if >> you "make bootstrap" in both branches, and then try again? > > I just rebuilt emacs-27 with "make bootstrap", reran the benchmark, and > it took ~60 seconds, about a second faster than the previous > non-bootstrapped build. The profile is similar to the previous one from > emacs-27, but I've attached for your perusal anyway. I'll bootstrap > master too and run the benchmark there again. On freshly bootstrapped master the benchmark took the same time as before, ~21 seconds, and the profile looks pretty much the same, so I haven't attached it, but will send it if you want to see it. Steve Berman