From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master e245c4f226: Add --with-native-compilation=aot configuration option Date: Mon, 03 Oct 2022 12:51:57 +0200 Message-ID: <87r0zp6uya.fsf@gnus.org> References: <166479394630.8987.4511179100386418056@vcs2.savannah.gnu.org> <20221003104546.A4627C21CEA@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6393"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 12:57:31 2022 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 1ofJ8c-0001Sw-EA for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 12:57:30 +0200 Original-Received: from localhost ([::1]:51200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofJ8b-00074I-BN for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 06:57:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofJ3a-0004C6-7l for emacs-devel@gnu.org; Mon, 03 Oct 2022 06:52:22 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:50336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofJ3L-0004Ya-Fz for emacs-devel@gnu.org; Mon, 03 Oct 2022 06:52:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sH9DGd1XbGAEOVrSwxzNERoj2Ipd52x+ThQW/7F/yj0=; b=dqgcd7hgOyFyLDFGGpmLr7gQC6 Q2JcjLvT1IXNNvIbwOy9oLII28jFXkxZoIv9mOCAXwfkBbf6jxdoyMH//HoJYihWTvlapd60Fs0UW mx9WuK1XgYnxKwV1FQzVBCOKSqN9SEMQF6RFPNN/uYDpkRpIx7FUEe8hubxHl6g3Uj9M=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofJ3F-0008Ul-Nl for emacs-devel@gnu.org; Mon, 03 Oct 2022 12:52:01 +0200 In-Reply-To: <20221003104546.A4627C21CEA@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Mon, 3 Oct 2022 06:45:46 -0400 (EDT)") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXp5OKzpqKKeHVS PTv///9X6rKaAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YKAwovCTKb4G8AAAGSSURBVDjLbZMLtsMg CETRbgBxA4obaHT/e3sDfpK2j9M0jdeBwRIKhEiNI9OJqBTJnwNAuUHoADP+UZDnyh8gKGUqW1G+ FMl3tvJRY6Zi/gV8in+DsH7m8lVjg1hiXbs5WY0bhLqyjMofYKUKqfWCzn8AtTau/xQkBsZxFesG quMNgM7hg5I8wRWbAQ+AGlaqBlDQudQFcIMpzjiPUQRZUtIKoC5lsh1SAXBXRLxCQrUA0EZNwTLJ AlXQc0hpDBgj3y72SSpFVNjAFUhPgFbp6qAracfjXAbIVdMGQ+b+jgvZsM2AzAY5ApinLuJgnLPS 1n3SNNdsQE2BC+m6tX5AWwqYtWGJAJeDtP5o1LT5enVpVzup7shdxgTVgWUh+3r1tEAhq30GyhQz +LFqrq8b8BqzBdpcv4j4U6ELuCLcoLbu4E3TLq3X5AA2EA1M1auOCeirxgY2u/xk+QBbfXQC0JZb 4mcy1d0epsT9LMdNp8KWps8FJG/F7ANgn8nYbu10Yc1f9gO6vxrknoN747COMPEfhaRNUtUweIMA AAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMTAtMDNUMTA6NDc6MDkrMDA6MDA08eyYAAAAJXRFWHRk YXRlOm1vZGlmeQAyMDIyLTEwLTAzVDEwOjQ3OjA5KzAwOjAwRaxUJAAAAABJRU5ErkJggg== X-Now-Playing: David Sylvian's _Brilliant Trees_: "Brilliant Trees" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org 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, 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.29 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:296735 Archived-At: Lars Ingebrigtsen writes: > Add --with-native-compilation=aot configuration option I thought it might be interesting to look at some compilation numbers. On "master", a non-native bootstrap build takes: real 1m9.038s user 10m7.189s --with-native-compilation takes: real 1m50.159s user 15m56.087s --with-native-compilation=aot (full ahead-of-time build) takes: real 3m31.860s user 55m17.325s So there's a bigger percentage jump from non-native to native, than there is from native to AOT. (On this machine; as you can see from the "user" numbers, the CPU usage tells a somewhat different story.) Interestingly, the full AOT on "master" on this machine is now faster than a --with-native-compilation on the emacs-28 branch: real 4m3.930s user 36m49.549s