From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: The Emacs master is much slower than the emacs-27 branch. Date: Fri, 04 Dec 2020 16:00:53 +0100 Message-ID: References: <877dpyzg9d.fsf@rub.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stephen Berman , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 04 16:02:23 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 1klCbG-0000lK-EA for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 16:02:22 +0100 Original-Received: from localhost ([::1]:37382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klCbF-0005QJ-BB for ged-emacs-devel@m.gmane-mx.org; Fri, 04 Dec 2020 10:02:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klCZv-0004lX-Qh for emacs-devel@gnu.org; Fri, 04 Dec 2020 10:00:59 -0500 Original-Received: from mail-vi1eur06olkn2078.outbound.protection.outlook.com ([40.92.17.78]:13015 helo=EUR06-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klCZt-0008Ev-G5 for emacs-devel@gnu.org; Fri, 04 Dec 2020 10:00:59 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PVuN+vOL0mEVBdw8Ylq0ME2PjnY6bZQX1qq6n4xcHO75OR29B3hsyyZkWeCVgorCJlTZkZqb1TbaQlT8CW2RLrE0jeyJbkV5llYJGceUDyZkyZ0AisXbMeMSMysa/1Fyb8BmxKt1sbDCXaMTUz02mLh7O3n3mu3TGpSWbhvCUF03rHpzz14XYxZ+sLq1LsR9Pk/m8fzkJcpSn5CkxsjO8b9OlAMK7CU7hg1/dEL+2gHP1C/05v8fZeZsFoib0Xzqnu6RGzIIvqAqwVXxTHDkIEU5o1TwxylerJJsxCGOxKqCZ90+hJNaMuUxVKLYVki6JtlrqzzWYZAtuyPEQElY+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ka3ZG6e7ko2g+tlWLtKqcn9C+GNDRb58md3/foRJj8U=; b=fBis5TAMYppSWxFzdQ1QX58wgGckjvgV29VY3PID7WLGQeYyAnMwquHOYnTK/AcCM7UxianYmCUhzQyWqbmicoLTeETylTo5wsxhv+Xw6+NQONbgpMTlXHBMIJNyN5oFAI5m71NZ5QW2rDjJa3hAexLJsQcQLniGgnzb449WIMjd34UueNpdRBJSMQDp4fMCScRV2OXArERB8dH/ZhfUvVQem0fCMDX9XlrNNW9PLN5iTGgRuUOiwmfoVHtrrmyEMMutWqeBswmGlH9opMxcrAZZUpXVtigoNuO2tgsUpVTu617jn3OYGJSVsjiqm0jRekJ9J1v1GFDQDwpTkEvfqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ka3ZG6e7ko2g+tlWLtKqcn9C+GNDRb58md3/foRJj8U=; b=rbgPMgMflqpbcPDv3Czj99M8YxKThCozkOee+5WQzvrTlnABB0spDbM5HtHlTkpnwoXkZxh2F8TLLRkC5xxLx0uM200eYesAEP1OwRtdhre0IeGaz90p0E6dyIjDygFzV6XUVswY9vL1KiezN15AquN1RxKBMsRxyjZdYFzyTB/tWYfc8ePFeJMaFd5uFKAeULtoTVRwQ0YWwb/QmKGoN90GPFLhZlnEwrHCONjD/T8tDSYG5pjla327wtqZxRp83tf/U3V71fmxjFSpx0Yo8849rcASq8NUNfcdDv3tRfcSlrFui5qZcLA2wzg5CF7ruw5sLfqEeBghIDZdtuYCZw== Original-Received: from DB8EUR06FT004.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::4b) by DB8EUR06HT250.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Fri, 4 Dec 2020 15:00:54 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:fc35::52) by DB8EUR06FT004.mail.protection.outlook.com (2a01:111:e400:fc35::250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Fri, 4 Dec 2020 15:00:54 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:27A19B3C6E8B8CC3713E78A0793CA195D527E24901DD67C2DFE4B123B90CD3F5; UpperCasedChecksum:9261044090377432A40AC837BBC97049DDE4850390D72D6CABA85E9D90B91B96; SizeAsReceived:7574; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3632.018; Fri, 4 Dec 2020 15:00:54 +0000 In-Reply-To: (Arthur Miller's message of "Fri, 04 Dec 2020 15:55:14 +0100") X-TMN: [L9aeQuGat7snT0I+V9y/zAZR93yPXtjf] X-ClientProxiedBy: AM5PR0601CA0049.eurprd06.prod.outlook.com (2603:10a6:206::14) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87lfed62fu.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR0601CA0049.eurprd06.prod.outlook.com (2603:10a6:206::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Fri, 4 Dec 2020 15:00:53 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 71827bdb-8c11-40d4-94ce-08d8986565c1 X-MS-TrafficTypeDiagnostic: DB8EUR06HT250: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X6bH/h/d4r8QdFezbHvnoIRgFD+mMRt60kLhXcWnWDEHN9eA0jZT9a86tdjmYo/GqZIH7UWhHiyAeEM98bXfY7VqQLpKDTietDDJCX/BTYlZQ4BTJwVd8qBppfe3lMaaSXDUZf25W3bZKHLZb0fLrE3DDG8laOnqqh0Sb4/KprFUBiRlo5Hag7bpkD0ITHpaiq0w8xxQPRdyMgSeh/68tQ== X-MS-Exchange-AntiSpam-MessageData: 2yPC+hCJRn/BnolDlhVVsL7MXaviXD9udL0caHQRKj+Q5iOUp03y/suI9lCj2o6R/sFRq1jLbeQjBUmZZsADlcxtYn7n6cuwYsIGuxYJsurEgT4NPJnARcirDKEogqwPG30+t3uF1kmsWS6LrT1kZA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 71827bdb-8c11-40d4-94ce-08d8986565c1 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2020 15:00:54.2913 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT004.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT250 Received-SPF: pass client-ip=40.92.17.78; envelope-from=arthur.miller@live.com; helo=EUR06-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:260299 Archived-At: Arthur Miller writes: > Alan Mackenzie writes: > >> 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 > On my computer "stock" build from master (28) and 27.1 from Arch repo are at about > same speed. I even posted on Reddit like two days ago. > > You can see in screenshots, image 1 and 3 are "stock" versions, 27.1 and > 28. Image 2 is my own configured build (no gtk and some other stuff). Sorry, I saw later mails and realized you were talking about benchmark; thought you were talking about the startup :-).