GNU bug report logs - #73718
31.0.50; Severe performance issue with Tramp and project-mode-line-format

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Wed, 9 Oct 2024 10:44:01 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 31.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 73718 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>
Cc: Ergus <spacibba <at> aol.com>, Michael Albinus <michael.albinus <at> gmx.de>,
 73718 <at> debbugs.gnu.org
Subject: Re: bug#73718: 31.0.50; Severe performance issue with Tramp and
 project-mode-line-format
Date: Fri, 11 Oct 2024 03:38:25 +0300
On 09/10/2024 19:10, Juri Linkov wrote:
> Or maybe better to cache the value of project-name on remove projects.

Just the project->project-name mapping? Why not. I suppose there'd still 
be a pause when switching projects, but it's not as bad.

For general caching, from past threads it seems the most problematic 
case is "no project". Because OT1H it's still costly it terms of remote 
I/O. But on the other, this is exactly when the cache might get invalid 
soon (because the user will initialize a Git repo, or create another 
root marker, etc).

I guess we should come back to this after bug#72300.




This bug report was last modified 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.