From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on as default? Date: Fri, 27 Oct 2023 16:41:32 +0200 Message-ID: <874jict9er.fsf@no.lan> References: <83legs281v.fsf@gnu.org> <877cn9bzsc.fsf@yandex.com> <8734xxbn8n.fsf@yandex.com> <87y1fpihup.fsf@dataswamp.org> 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="15585"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 27 16:43:14 2023 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 1qwO3N-0003qX-7A for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Oct 2023 16:43:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwO2R-0008H1-Hl; Fri, 27 Oct 2023 10:42:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwO2Q-00089j-9V for emacs-devel@gnu.org; Fri, 27 Oct 2023 10:42:14 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwO2O-0000ld-26 for emacs-devel@gnu.org; Fri, 27 Oct 2023 10:42:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1698417727; x=1699022527; i=telegraph@gmx.net; bh=DliG5GdQxreQEjqDDEGNZmS+Q4VV3zu66hzu1z1DYIo=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=JcvWtxdlqlo5Zx27l0Bx/9mB5LzBkmXnywiaQkhvfz0vjVvIwLHpErIG31EcmMkt Yc58NKqc1B3iL890LLpaFya9jR1kOhQ2i2QFRsVXBapXcfGKnnYrLunMxpmdKHBnH J5ml2cpV6C2GvGu1SK5WUNgq0ekaVi2e7oxuK47ofoSbLLdoPkMxSB9zjH63G6+wB BHXX2SC+IyAkptZBh7SooeVyzMzDoJjGRtx/y88cm3DVAnEJZwSOpwIsT7JgVvF3k zz1XBbEFkdoZno5bmFhTRJ2uqevP1+Y8oRpL6eMjXE+ewGDhn8KdywpfJ8JzL6R1C 2bPXTIYj0/OP1wVtNQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.236.143]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N2V0H-1rcHIm1jDT-013v9O; Fri, 27 Oct 2023 16:42:07 +0200 In-Reply-To: <87y1fpihup.fsf@dataswamp.org> Mail-Followup-To: Emanuel Berg , emacs-devel@gnu.org X-Provags-ID: V03:K1:sk+BRsZ1IpTOVD6D3GFF2tm5tuS10GnMxX1vIOK/gAI8D03PYt5 C4GIiVGRNoKmWTmrZBniWrumVtCoyM1Y4s4Fp3nCRh26/pNvxVL0Efxhn+f0SQSrQtauO4V USPa0iW3lS6Fn+nyAfZSLhnpcAPJ6bGUVAl30cqw250Khw9iLyKTz5V67LM84c8csWsTNnh YobK+zm55xkdEOUYmjmfw== UI-OutboundReport: notjunk:1;M01:P0:ias81OHZqXo=;bL9OEvwmCfPDltICuK45K6odBC8 8Pxq/6FIGkuc7GfDS3DMjs61/cznWdgTzLT+toD4HJg3bOFAjxSpQ4zWQ7qwIZ70nT/gWz362 N8uippY9zBC5urrHhjNJbtcYjx0VyXI79HaHHdtWeZRgnVCKcdfgu53DQ1FbOZ9ghMp36TUw6 60r88ADNgP3eizA/s/Jx+3qc/TReALmHRuWgc2dpGP4ULmDHXpSxv9RjVLLANDDLOYuV3vNmL S9V/JLZSymveXmHOyOVvFt9fD5/IEkzU+Moo/4EXtsrUoYTBZvMkOoiTTyheLnjC1+V6X5PPZ Gi/unDiSFhea4kKne0zC0oWC9zDjff+UoijmxRw0hmbW/AVXn5eqU/zh0/znK/a+UfSxUebX9 ZYX7UQBlMz4xeqJEpPl6Dt3+tTFuSyaJU2T/vKHv31BLwuMxS94uThLEUb15JglJxNAgxTZfj zgOx92DWGbKcC4CuuTVIoES0R9ZOR2MZTJHb22TtgZFy1agnlT2/W+kHLmFBRlPYPsB2N5Mll XKOYiISX+QVcUs0tqaHBXaduLG1veEtHIIKix1Qe+jjpBdBHRnpFC2AQvZt9tx1BXxplmH8jr LfbvjVWUWrvwSWin17LHVPWH9Jz4gH63QLC4I64IgrR/H1rALJyHRLA/mrAcPQ0Nx+2OHVPGB ZrDMDphyYSgTbrrRg7ZovqHZw3WqlRPX/JgK0Kc2mEyr6B31ge8/X2U5iP60+QKauVWpgifho kRuNJkuVXuW1BzobwPxUdlSsSfzNmZYiOdGg08qkMGnSSdWXgkZiwZRJKYjwEkpcUCHzHlY5 Received-SPF: pass client-ip=212.227.15.15; envelope-from=telegraph@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_H4=0.001, RCVD_IN_MSPIKE_WL=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.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311935 Archived-At: Hi Emanuel, Colin, emacs developers, * Emanuel Berg [2023-10-26; 16:22 +02]: > Colin Baxter wrote: >> Well, I do have libjccjit-6-dev on a machine running Debian >> 9.13. This is the machine on which I did try native >> compilation. As I said, I could see zero change in >> performance of my emacs (30.0.50). There's also libjccjit-8 >> on another machine of mine running Debian 10.13. > > Strange you do not experience it being faster, maybe a more > recent Debian could be the explanation. I just upgraded my > stable Debian and am now on Debian 12.2, so 9.13 and 10.13 are > quite old, on the other hand we have the same GNU Emacs > 30.0.50 so it can't be that :) > > libgccjit-12-dev > > gcc (Debian 12.2.0-14) 12.2.0 > > So maybe one should aim for the twelve then. I started using native compilation with Debian 11 / libgccjit-8-dev and the effect was just notable to me. But since I upgraded to Debian 12 / libgccjit-12-dev Emacs feels much more snappy, also starts faster. Even the compilation process is faster than under Debian 11. Thanks, Andrea. Ciao; Gregor