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: Re: Some experience with the igc branch Date: Sun, 22 Dec 2024 18:18:08 +0100 Message-ID: References: <87o713wwsi.fsf@telefonica.net> 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="8813"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 22 18:18:48 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 1tPPbL-00027s-T2 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Dec 2024 18:18:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPar-0005IJ-4r; Sun, 22 Dec 2024 12:18:17 -0500 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 1tPPao-0005I9-M5 for emacs-devel@gnu.org; Sun, 22 Dec 2024 12:18:14 -0500 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPPan-0000um-7D for emacs-devel@gnu.org; Sun, 22 Dec 2024 12:18:14 -0500 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-aa67ac42819so501038566b.0 for ; Sun, 22 Dec 2024 09:18:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734887891; x=1735492691; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wvlghHEbCs7ZQriBhgrqUE8TT7qBUeNSflre+mSXaYQ=; b=fnRmMLT6sjlP9wExkh9NFBz5sP/zInbodw+FTndqN0UB3nCpwU4outZs4gPcsGrFNQ cqlAjJpVHJfNhME8meW1F/4HdNO0M+l+FDcxoRxv6YxHLJJ8Neno0Z6bzzHOGDqsUmwq RzBt77L5q4wA6M1UT3MpyP+yVK/5lov7CdPT74oEkbYnsLPF/CmsGF26iWGU0+yptQKl M+6mAeuhYdI0WWR3kGhkaa2QWbM0qtD6rnqFrXA8cycsHa4d8gwRPuNFoKcnNJuyVsSA D68s9Q9QMvpfKJCGDuJhUAkZxF3aACs5Q1vL936Qo68zKoxwlRNI8iStR5sbD4GGKrL+ uCgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734887891; x=1735492691; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wvlghHEbCs7ZQriBhgrqUE8TT7qBUeNSflre+mSXaYQ=; b=L5toameZOdo2JlK6MZDbD5GcTHadEVNj3gmPQiOkzwWjudALoyM8B71lwXBZAGIHhX 5JGZNmnQN4C20E3myutFknYpD8CLl9jZQxeStQv0EJ9taAnItn1ZfqvXKd/76JUDI6QS UC/CYIBt6c+g8+Vuwm8VUFMqNMqnAiUL6+w1Z40GtoQhRQrnAiry15BPy51ktCHlSH34 L2BaStvCAJVgUCzRxjmvEsXWSYMY+52v3C6rTRo/uHSyktCwvcQNatlBMnlbgbFB8bOd viRN2VmNMgol/5S2ImaT78CjP3lCTG5PTZCdyNsiHXchoZR6MHOhOueuFN1rWC5Y8Phf e4rA== X-Gm-Message-State: AOJu0YyROpDUzKcH0c4taATGfpr92Qq6IWGWPd16WUb/A9GFfumzszhx XidOZKEsO5pkoIKEWvJkInNeh7okOGwAhiS4Rr9WmCyuR3U0y7L38AOxtA== X-Gm-Gg: ASbGncuHYUKj8grpPcFOXLRjkdwMTyrzDoaHx+hdthuGXTQlzAZSQCsDKVZQt0egHsX YlU9wWL9+R9pMh8k9Yoq21rKilDRvDSPA9FzoJS3Oxl+hS/JU+ZWd2cYqonxymHrsMnYpXZRIGg Itd70u74tEpxxmWtZv6wTy90U/Q7y3djSTdcCyjHK9Rdxng6Yo22PfdHiUqEQrVokKCHkDoV5l7 hpcS7tabqGOp2ye21JlTlZLwbiQf725cXXAmF6C19Zg9LRmUpELyjEjC/sk0f6xdMaayvyBZlQZ BdxhBKx1ybnbzvCJ1ammXwEuIrKW5GtFw6fzi3860Gg1r1THVutaYOxHrO4y1Znefg== X-Google-Smtp-Source: AGHT+IHwRGub0pIoNUr1w/dGKYdCaxTWd0Ddpzolr2CXRDES61aZWMlvlTVZ3rERyuOHpvT3qE/AQA== X-Received: by 2002:a17:907:d8b:b0:aa6:ac33:90cf with SMTP id a640c23a62f3a-aac271305e9mr854707766b.2.1734887890304; Sun, 22 Dec 2024 09:18:10 -0800 (PST) Original-Received: from pro2 (p200300e0b71f6700b0196211433a3436.dip0.t-ipconnect.de. [2003:e0:b71f:6700:b019:6211:433a:3436]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e82f2fasm408869466b.9.2024.12.22.09.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2024 09:18:09 -0800 (PST) In-Reply-To: <87o713wwsi.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sun, 22 Dec 2024 16:40:45 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x629.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:326869 Archived-At: =C3=93scar Fuentes writes: > I've using the igc branch for the past weeks. It was mostly Dart/Flutter > development with lsp-dart / lsp-mode enabled, with all its default > features enabled. On top of that, I use the flx completion algorithm. > > This setup puts a lot of stress on GC. To illustrate, on master Emacs > after setting garbage-collection-messages to t, one can see that simply > writing a few characters triggers GC several times, each with its > corresponding pause, which may be very noticeable ("uh! that keypress > didn't register... wait, there it is.") The experience is not great. > Quite miserable, I would say. People suggest playing with > gc-cons-threshold (I have mine set to 10'000'000) but those tricks > simply make things a bit less awful. > > With igc the pauses are still there, but they much shorter and > predictable, they no longer distract me from thinking on what I'm > writing, which is a huge improvement. I suspect that some of those > pauses are not related to garbage collection (executing code and moving > data also takes time.) > > TL/DR: now I enjoy using Emacs with this setup and I'm no longer tempted > to switch to other editors for this type of work. > > A big thank you to all involved on this feature. =F0=9F=91=8D=20