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: Thu, 03 Dec 2020 23:17:18 +0100 Message-ID: <877dpyzg9d.fsf@rub.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35313"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 03 23:18:06 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 1kkwvO-00095J-8W for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Dec 2020 23:18:06 +0100 Original-Received: from localhost ([::1]:49300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkwvN-0000JW-AB for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Dec 2020 17:18:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkwuq-0008LY-Pr for emacs-devel@gnu.org; Thu, 03 Dec 2020 17:17:32 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:35581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkwun-0004uS-Q9 for emacs-devel@gnu.org; Thu, 03 Dec 2020 17:17:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607033845; bh=4zaj6Ttbx9y01MrVUao5bvA8aPPdUhNs805YdkzoV6o=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RhMv32Tfr5Qwu9+Jl2nxKvXIyGMcUgbWJqJk7b7fEQAUwVgieoQthgY4Y2CBq+3Sm VkeL5j5HFyzwhmGaK58RSSZdzZFAi6Sqzco74IxQVqDK+MFrbOTWltqS/OVWhTcG3b zhesW32fz5g5LZ+UHbuk8COEmLI8B7TT47SjqdWE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([188.109.158.114]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbivG-1kBLiN2O10-00dHPe; Thu, 03 Dec 2020 23:17:25 +0100 In-Reply-To: (Alan Mackenzie's message of "Thu, 3 Dec 2020 18:15:30 +0000") X-Provags-ID: V03:K1:4tGs2u4blC5Ce8H4YLFMe2oyv/T5z/jjNph+5chsH5hfgwNnUM7 v5Jvd58OMgCK/kJhmt4cyeG4WyVd31Wt7V4KdIwqHHfnaElle0Gmi9HJH3XhsfxWEf8sKEO P/voMxM1GeKUjVG/uz1DAYPNCGr0AOFnTaW+vMS4dB1hut0ACUKYZUHES4Ag/AUzp5TZUlo iQmfuS2GDpbaaA1Ok2u8A== X-UI-Out-Filterresults: notjunk:1;V03:K0:8grgeoihH8A=:iaJgI3t2C2N6JUx7tHj5C7 r1bPgRDx0MVya3zCzT6wb3icPGUSc/zWqqRZ0ZhIvDc+lxTtLnnSncp1b9hxlGdX4ZWdB99Na VJmPOx7Aw2Sy6Z9cwdDUIrCHspzF0QSf4/mxn9isH03hT7EIkH+xHcr4/CEntGmUzCr2q9VWC FP5+3BOmeRI9+YsgeqheCYdh6HqvedTx8dqWTZ2Y71W5cbn8oWrZ7Noq4PN7BMIHUWgLszilG 7MwUBz1UaIIARroaJ6811MxL+jUxIGsespCAgXIQdNnbI+YUWe1N6SfDRNIhsFFzrg0Pqk/3y 65c8Ra97LNDeVk8+THHXT7VUhWzUqh2LeSNYNeaGQvORakWdVhP+9saCywdTV1pIqSmskWdlY x7w0lXPzCWmI59d7dE1O/4gqFNKpnR0paoKmyPSOtWTBQUC7hxBoEAtDRX+pCOhci/vUJeAvW NuG7DW3wM83ncrcjXJjsueeA22VdAZNNNBEg79CiqR67M0wNn9zVpR6ej5sIIHNPXtZAYn8fY XpHCB1Q/8Oi8lTZWPpUvEpYHcya8b/JpyB3tswFztWMWPtxdd6itM8aeoQ5yxWK1B0EBIqLbn oKMTFSZ+kd+MOg1wEhzOtJgZN6B88E4PAigzN1L0ZMFr7B6xMX8fGxdW4ToUlVjl4VVKoa5qw qFsjVxFqaE3EkdOtAPVoIFPIvcMP2nk4r9jppzxFKjfLC7idTTJ4xQa7kxwmYBUM5y54i+Wbi omjrZjv8inf6G5bS2/ypbZhjL/QdEfOqMTvbbXPpwLftZkG31aXIZGIpHGk92GtIGElwoUMu 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:260256 Archived-At: 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 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