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: Enabling native compilation by default when libgccjit is present Date: Sun, 05 Dec 2021 21:32:23 +0100 Message-ID: <87sfv6okrs.fsf@gnus.org> References: <83wnkm94oq.fsf@gnu.org> <87y251vdeh.fsf@gnus.org> <87lf11tlzf.fsf@gnus.org> <87r1atrsp9.fsf@gnus.org> <8735n85fa5.fsf@gnus.org> <87r1arskmq.fsf@gnus.org> <87r1arsjpu.fsf@yahoo.com> <87ilw3sjlr.fsf@gnus.org> <87r1ar4mi2.fsf@gmail.com> <874k7nw32n.fsf@gnus.jao.io> <87mtlfasg4.fsf@telefonica.net> <87y24yrgas.fsf@gnus.org> <83fsr63jma.fsf@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="2190"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 05 21:33:05 2021 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 1mtyC0-0000LR-E4 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 21:33:04 +0100 Original-Received: from localhost ([::1]:43502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtyBz-0000Qs-3R for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 15:33:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtyBS-0008B5-Sg for emacs-devel@gnu.org; Sun, 05 Dec 2021 15:32:30 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=45568 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtyBR-0004A1-IF; Sun, 05 Dec 2021 15:32:30 -0500 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:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To: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=V2T9TrfyXFQypi4RvK873y6Y9wWf79DlQ7195peqn0I=; b=YOrZT/wRdswtv2JVoOHWcUVtMM aV2MXYOde9l3JsI3CPatXldVODZwvKo9Zie1vDzpe1SrJqhY2KvoWi7QldqW3RkiPfISc5N8Bjc7E r+PPrQxT2jsIl67hQ2Ml4KuBk6Tn55xxKZHIvxNDI8O33RjB2N+ckOl1iWaPhy+Gg7k8=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtyBL-0002iK-Ql; Sun, 05 Dec 2021 21:32:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEU/Fhi/qJ22FiP/ ///QDgF2AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UMBRQXL80Oj8EAAAFTSURBVCjPTdGxasMwEAbg 3yKGoCmBurOXFqOnSKFZMjVQG+o9S55CCArBW4dkyKQYWsT/lL2TY4gNkj6fTnfIgDzFAm4YeNX1 erOCSyQV7QeMC+SfbhI01k2RYruBBzkKiv0nLPS7A0rZVVsylTvgfbsxtWSgPGKxXsHWGjA7VBUQ DRmr9oiqlYBTHI7YS7oG8CM5sks78Ti/EU+Q4lKirY6EQbRJqrYvA2HNibHsi0NhpZ3aC7qv7qJo LMfX53VHQUiOt9/u1kl7iHJuPHRjhhZJL/31ovACfvdnKoyC/ZCR1xc+gLK0TBMGeQNH3L/r5TyA c86MoEVnxDBjkNMCbUaSe5CsGR7j0tnkMuQC/R3SAFKwRjEqWLuMKPngMkIRJB8coolOm5CfSDY2 5gMU42lCUiQ/IWbIAVJx9FOOjJEWGcs8uQk+T82EmKdpzAVMjv8Dvofiv+ZbvdIAAAAldEVYdGRh dGU6Y3JlYXRlADIwMjEtMTItMDVUMjA6MjM6NDcrMDA6MDBj5hSIAAAAJXRFWHRkYXRlOm1vZGlm eQAyMDIxLTEyLTA1VDIwOjIzOjQ3KzAwOjAwErusNAAAAABJRU5ErkJggg== X-Now-Playing: Kraftwerk's _The Man Machine_: "The Robots" In-Reply-To: <83fsr63jma.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Dec 2021 22:02:53 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, 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:281022 Archived-At: Eli Zaretskii writes: > Profile it. In my testing, 2/3 of the time is taken by GC, and > nativecomp cannot possibly speed up that. GC takes 25% of the time in my tests (and 72% in `eww-render') in both native and non-native with this test and a Hacker News web page downloaded: (progn (require 'eww) (profiler-start 'cpu) (benchmark-run 10 (eww-open-file "/tmp/foo.html")) (profiler-report)) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no