From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Some experience with the igc branch Date: Mon, 23 Dec 2024 00:05:30 +0000 Message-ID: <87y107e02u.fsf@protonmail.com> References: <87o713wwsi.fsf@telefonica.net> <87ldw7fwet.fsf@protonmail.com> <87h66vwn1m.fsf@telefonica.net> Reply-To: Pip Cet 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="31630"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, =?utf-8?Q?Gerd_M=C3=B6llmann?= , Helmut Eller , Andrea Corallo To: =?utf-8?Q?=C3=93scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 23 04:23:47 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 1tPZ2p-00087z-GM for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Dec 2024 04:23:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPZ1s-00019n-U5; Sun, 22 Dec 2024 22:22:48 -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 1tPVx8-00057c-CX for emacs-devel@gnu.org; Sun, 22 Dec 2024 19:05:43 -0500 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPVx6-0000Dw-3k for emacs-devel@gnu.org; Sun, 22 Dec 2024 19:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734912337; x=1735171537; bh=Xl11rXReKlEKZ7LomRzYjxDRZeL6HMc+fSa8Yc44AAc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=pTuWqIMZ+s7jUTHhZlO/poFlxBlqjICZgYG4gyOgNDrinaZf8JPmks2zUgkM0e/pC F0NyGx4TSvoU6WC61crI7xhfXT1EY7YiNKFLsSQq8NceIR6cmHiq+CpNqMxpGHM/Qi W5rtn9xwhg5Dqaku2GLipzzK0Htu+mXgG+eoLsOBBt3P+KpKXqNhmBuUAs+OMFuZHJ 4gzZeGz6blnxN6YwUpmkh/fWdwtL3fXPNtHpQ40wJyMG4+FFMj8ZxzQQ6C+3+zjKCZ 2CvNDH0hcgN01JjhAvQIJZl5xgUVMtk6Qfrup8gvuqtMDZogW6NYUl8jQ2LYgPvc5p 6n0Z2DWGtJmew== In-Reply-To: <87h66vwn1m.fsf@telefonica.net> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: fadb9911b2b9e8c4a4c34ea42aa0675cea339fc3 Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 22 Dec 2024 22:22:44 -0500 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:326892 Archived-At: =C3=93scar Fuentes writes: > Pip Cet via "Emacs development discussions." > writes: > >>> I suspect that some of those >>> pauses are not related to garbage collection (executing code and moving >>> data also takes time.) >> >> Quite possible. Even if it is GC, please keep in mind that MPS has many >> settings which you can play with, and it can improve things a lot. It's >> not too early to become a fan of the scratch/igc branch, but it is too >> early to reject it for performance reasons. It's a "heads you lose, tai= ls I >> win" situation, I guess. > > IIRC MPS is well documented and I can look up those settings, but does > Emacs collect the required info for taking informed decisions? Not that I'm aware of, at this point. >> 1. The signal issue. I don't have a good way to fix this and make >> everyone happy, but I do have a solution which hasn't caused a crash for >> me in quite a while. It may be good enough. > > Inevitably, a few minutes after sending my message Emacs froze after > working flawlessly since you fixed the JSON issue. Sorry to hear it, and thanks for letting us know! If it happens again, any additional information you can provide would be very helpful. > Redisplay just stopped while showing the menu, no crash nor infinite > loop, its CPU usage was typical for the repeating timers that my config > creates. That's a bit odd. It might be the signal issue, but that's purely a guess. If it happens again, please let us know. Which windowing system are you using, and how are you displaying menus, though? > It's very likely that MPS is innocent on this, but I'm happy to apply > and test any stability improvement patch you have and wish to share. I just pushed the temporary fix for the signal issue, which should improve stability. Pip