[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some experience with the igc branch
From: |
Óscar Fuentes |
Subject: |
Some experience with the igc branch |
Date: |
Sun, 22 Dec 2024 16:40:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
- Some experience with the igc branch,
Óscar Fuentes <=
- Re: Some experience with the igc branch, Gerd Möllmann, 2024/12/22
- Re: Some experience with the igc branch, Gerd Möllmann, 2024/12/22
- Re: Some experience with the igc branch, Pip Cet, 2024/12/22
- Re: Some experience with the igc branch, Gerd Möllmann, 2024/12/22
- Re: Some experience with the igc branch, Óscar Fuentes, 2024/12/22
- Re: Some experience with the igc branch, Pip Cet, 2024/12/22
- Re: Some experience with the igc branch, Óscar Fuentes, 2024/12/22
- Re: Some experience with the igc branch, Pip Cet, 2024/12/24
- Freezing frame with igc, Gerd Möllmann, 2024/12/24
- Re: Freezing frame with igc, Pip Cet, 2024/12/25