From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Myhrberg Newsgroups: gmane.emacs.devel Subject: Re: Enabling native compilation by default when libgccjit is present Date: Mon, 6 Dec 2021 02:50:58 +0000 Message-ID: References: <99778fc6-10f0-4332-9552-ea8c699acf90@yandex.ru> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31589"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Jose A. Ortega Ruiz" , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 03:51:41 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 1mu46O-00080z-Sr for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 03:51:40 +0100 Original-Received: from localhost ([::1]:59244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mu46N-000667-Cs for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 21:51:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mu45r-0005Re-BC for emacs-devel@gnu.org; Sun, 05 Dec 2021 21:51:07 -0500 Original-Received: from [2607:f8b0:4864:20::d34] (port=40545 helo=mail-io1-xd34.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mu45p-0005CU-EU; Sun, 05 Dec 2021 21:51:07 -0500 Original-Received: by mail-io1-xd34.google.com with SMTP id p23so11245752iod.7; Sun, 05 Dec 2021 18:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=n0xilqSLzY7MSGE3ew7c1dgnm7i5GPkDqLku1Yk62Co=; b=XRJWNYugklr433LzZF9HXc1H90oMyxVg6UT+HwtEuWhBnogV4n9VRCVn3GeGp+fzOM e6AJ5dJilwkx2IgsfhBnDs1Nf66U+pxGx/s/RBJAWWBFE2nkl6S9g6FoIKbhclrRwvAt RPkc17APMW2Q+QR0mG4+OniL9515OWCVO/R7hlg0ey9jeLUT+wZJ2lpbFdN2bZzsIgjU R/WAgzRwqXWPePnMXTmw+Aagl3yGeMxTP//FaPaCVbsDUFtPSITZNyAFrs4GLrAA4vIl rYa19AV0+QWwFlgjLrPaiilbbREvNgVCpWEBx28HFXT3Y/yyeMlWzyZb4+HHoE2EosmJ F2UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=n0xilqSLzY7MSGE3ew7c1dgnm7i5GPkDqLku1Yk62Co=; b=lrCleGThWzfQXhP+6aVG28LV6gK8C5O3WwSrATBMIKvoNmwkl8x8z2203oujttMzC9 /EJcmNTOEUNyOMxQjPmK1dn6vdC6N3nMgazLN6v0qtYsa6AY4S8o1Ofc5vLdz2WRtmqi jOnkGY9Y2NONvUXKRxDV3Xqykr4Xy9y0lPZzlHN0Ugttx415Zgn8re7XWJUHit7cDDO1 7eOsy7zKQ3fEjFmQu0RAvL8MK5yNfNKcBdSUdW9YvL3cg1DIoyYj3JNBczEputkQQXRe eZ6Yebc37J4xsjLCbS4S624GLOP23f4sI0zMg3w+qmt17d2f1QW4a/L9Gw3gRS3SEbq/ O0Sg== X-Gm-Message-State: AOAM532mgZ6HmlZboLW76tsnFpQC88aU7QmyCIaqGW4rxHMlkTZ0VW16 rvcDqc0p6TxHMVHvg8gE+kRV3pgiQC2IvA== X-Google-Smtp-Source: ABdhPJx7PgZ/2iSl3JA+IRZahrRUyhfVbunlDPwss6eQMtlGlqAuCEvOcbkxKDvVPie08y4zBmmNsg== X-Received: by 2002:a6b:5c05:: with SMTP id z5mr31277620ioh.181.1638759063943; Sun, 05 Dec 2021 18:51:03 -0800 (PST) Original-Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id 18sm5470040iln.83.2021.12.05.18.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Dec 2021 18:51:03 -0800 (PST) Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id D8CAC27C005A; Sun, 5 Dec 2021 21:51:02 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 05 Dec 2021 21:51:02 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrjedvgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtgffhggfufffkfhgjvffosehtqhhmtdhhtdejnecuhfhrohhmpeflihhmucfo hihhrhgsvghrghcuoehjihhmvghhghgvvghksehgmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpeeufeduvdetteevffejfeevieduveefleevgefhhfehveetieefudffudff keduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmvgdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddujeehgeehvdefvddq vdeiieehfeehhedvqdhjihhmvghhghgvvghkpeepghhmrghilhdrtghomhesjhhimhgvhh drmhgv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Dec 2021 21:51:02 -0500 (EST) In-Reply-To: <99778fc6-10f0-4332-9552-ea8c699acf90@yandex.ru> X-Mailer: iPhone Mail (19B74) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d34 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=jimehgeek@gmail.com; helo=mail-io1-xd34.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:281043 Archived-At: >> Especially in larger Ruby RSpec test files (over 400-500 lines), where ea= ch keystroke could take somewhere around 100-1000ms to register. Native-comp= solved all of that for me, with everything being fast and responsive, even t= hose worst case scenario RSpec files. >=20 > Was that with lsp-mode enabled? >=20 > Because otherwise, I routinely edit RSpec files longer than that, with no s= luggishness like the one you described. I having lsp-mode on or off didn=E2=80=99t really have much of an effect, an= d I=E2=80=99d had performance issues since before lsp-mode existed. Though t= he biggest performance killer in long heavily indented rspec files was the h= ighlight-indent-guides package. But even with that turned off, various opera= tions were still pretty slow most of the time, specially inserting a new lin= e which would often take a good 300-500ms on those problematic files. Admittedly, I=E2=80=99ve not really tried running Emacs without native-comp f= or nearly a year, and it was nearly 18 months ago I started using native-com= p builds. I=E2=80=99m curious now though, so I=E2=80=99ll create a local mas= ter build without native comp tomorrow and see how it behaves.=