From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: MPS: optimized build Date: Sun, 05 May 2024 08:16:14 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Helmut Eller To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 05 08:17:20 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 1s3VBY-0008NU-Gq for ged-emacs-devel@m.gmane-mx.org; Sun, 05 May 2024 08:17:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3VAc-00006I-O4; Sun, 05 May 2024 02:16:26 -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 1s3VAZ-00005N-TK for emacs-devel@gnu.org; Sun, 05 May 2024 02:16:20 -0400 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3VAX-00016p-Sb; Sun, 05 May 2024 02:16:19 -0400 Original-Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-572adaa172cso1536378a12.1; Sat, 04 May 2024 23:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714889776; x=1715494576; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=eEYIbT/kOXoZvy3iLr/uE00Z2doF6abTkM98Yt3kpY0=; b=TJ1sB1AUNx659PdDasVW8OcyDki4WW7t8dt8IY/1+d6F377zPLbzEdcCHUocanBzIj /vwOYWhcyss+IKqoehuRuhvByXSmZcP8Sb2EfMtCyaFyaoj3inWQdueQaDuPQmZ/kw4E 09bQo8gq7rdVahDLGwQgdRY3+52Wa6EW6XBzW0TiuSw1OWUbayGisMeKD9eBeBepF12b TZ6X+jYA5MhgpkVAQ9kMLpb7ZohJeVgGU3w6kq/FgAcN0m17CqiRD73wmncmlDr+oILx yyyVSLse2SunnSvFy7lrAqoDhrRWU0nZ0Prf4gUS+6sijzY2j/rKTxbW8XI3xuoF86Uy CUCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714889776; x=1715494576; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eEYIbT/kOXoZvy3iLr/uE00Z2doF6abTkM98Yt3kpY0=; b=skFD90j3AvD7aKBLFAaxyEBF4965M0i2ZPy2G3YSzXjzb1n+aDSG+cD655g4xHcooM 1el8T8LsDuioNfI99jHbB55DNGei08/6sGC581l+SsLuUJdzzzQiBOZ3d0zJSRkBgZDU 2pNXSfPANn1bZyvlPzEJ4EoGw3rzh4Ccjmi8dGlhom+Nm7DIWA03/x/caRlI1ltYJ60h WTfGzsKhqtdUp+1u01ZJ5Q/paQcNLccwHRHZNvUp3Qeta2zPd/xWc1ZEhGZEUWTvaGM8 6b7m1anucUmusigMsmtqjqSwY5mLDI0sK8g+hEq90i2ERQQvU5n86LwUjBbtI0+p/ZPo aiYA== X-Gm-Message-State: AOJu0YzIjA1JPOOERUrvmhjHF87O3NBIIfixof83qpne3mqs2kwacCCl mT0fBJn2g/uxY85EkZj4/SikMRc+FyyQHr13FNqio3QQelu7+DHz X-Google-Smtp-Source: AGHT+IG/bS/W/fy1+TQafbSjSdWz+1rXFjQ8ggX8xigBc5a2utRx5FkH9Dm1FBauI49el0VfBfoxrw== X-Received: by 2002:a50:c31d:0:b0:572:9503:4f8a with SMTP id a29-20020a50c31d000000b0057295034f8amr5794062edb.1.1714889775673; Sat, 04 May 2024 23:16:15 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a20a.dip0.t-ipconnect.de. [79.227.162.10]) by smtp.gmail.com with ESMTPSA id d4-20020a05640208c400b00572958eae83sm3639917edz.58.2024.05.04.23.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 23:16:15 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52b.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:318772 Archived-At: 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...