From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: MPS: optimized build Date: Sun, 05 May 2024 03:50:44 -0400 Message-ID: References: Mime-Version: 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="36907"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel , Eli Zaretskii , Helmut Eller To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 09:51:27 2024 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 1s3Wed-0009PE-Dd for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 09:51:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3We1-0002FP-W3; Sun, 05 May 2024 03:50:50 -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 1s3Wdy-0002Eu-QO for emacs-devel@gnu.org; Sun, 05 May 2024 03:50:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3Wdy-00013B-IE; Sun, 05 May 2024 03:50:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=uKBuej4HSMu3HtRonSBtqJMXwN4ki6g6WdslsUy81c8=; b=AuRNtqKfwWxUHDy5ZQ+/ VZffkA3GE4iKL6U13Dh88C88JqSjZWiJj8ZzHXPDkhNscfSSUoR1lzLBSZy4jKhNM+Wo4qqHPVlql HJBlKKVw9SDmQN1XUFUNDAFOKsvqPbt6rx8O8184N4rsgI/9vXrVKpl003UQgE686rlhjMoPYbruM 1n68X3SAS6l1VfMFjn3MRcnaXifc5aBx6g2n9ZdL5y8zmcyxF5GpX26qiKIh258rklrhp2bfz3Z8/ 26tLFee+A9SQDYsto+WXRKwudm3Z2Xg9/LLpmpChg+eDCkvmpKYh905X6edzVlLAoZxHA7Hh7dcQ/ nPjfreb03qVVCA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1s3Wdw-0001Mf-RD; Sun, 05 May 2024 03:50:45 -0400 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 05 May 2024 08:16:14 +0200") 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:318781 Archived-At: Gerd M=C3=B6llmann writes: > I'm using an optimized build of scratch/igc today, in an attempt to > somehow distract myself from my sciatica. And I thought, why not write > someting about what I'm seeing. Who knows for what it's good. > > This is of course macOS 14, Apple silicon. > > So, anecdotal observations: > > Survival time so far 1 hour, no crash. "Normal" usage for me, packages > I use and so on... YMMV. > > I find build times surprising. 1:08 minutes with MPS (the non-debug > version), 1:18 without MPS. I would have expected the opposite, and with > a large difference. So much to intuition when it comes to performance, > but that only in passing. > > Interactive use is, let me say, agreeable? :-) > > I still see pauses sometimes but I would say these are not caused by > GC. I can see GC running BTW, with garbage-collection-messages set to > t and I've changed igc.c to write the messages to *Messages* to have a > better overview. So, synchronous process interaction, JSON parsing and > what else lead to some small pauses. No surprise. > > In general, but I guess the wish is the father of the thought as we say > here, Emacs seems to be, hm, snappier? Consult, vertico, corfu, ... > completions, even typing text maybe? > > Would be interesting to hear from others how they perceive it... Cool! If you are there you might want to have a run with elisp-benchmarks [1]. IIRC one or two were GC bounded so we might see some difference =F0=9F=98= =83. Thanks Andrea [1]