all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Juri Linkov <juri@linkov.net>
Cc: Ergus <spacibba@aol.com>,
	Michael Albinus <michael.albinus@gmx.de>,
	73718@debbugs.gnu.org
Subject: bug#73718: 31.0.50; Severe performance issue with Tramp and project-mode-line-format
Date: Fri, 11 Oct 2024 03:38:25 +0300	[thread overview]
Message-ID: <71d57a53-f8d8-45f7-bff6-09f5acf292f8@yandex.ru> (raw)
In-Reply-To: <86a5fdmg3h.fsf@mail.linkov.net>

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.





  reply	other threads:[~2024-10-11  0:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874j5lzhdn.fsf.ref@aol.com>
2024-10-09 10:43 ` bug#73718: 31.0.50; Severe performance issue with Tramp and project-mode-line-format Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-09 13:12   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-10 11:12     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18 12:01       ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18 16:16         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-09 13:38   ` Dmitry Gutov
2024-10-09 13:45     ` Ship Mints
2024-10-09 14:01       ` Ship Mints
2024-10-09 16:10     ` Juri Linkov
2024-10-11  0:38       ` Dmitry Gutov [this message]
2024-10-11 14:35         ` Ship Mints
2024-10-13 13:31           ` Ship Mints
2024-10-10  9:57     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-11  0:33       ` Dmitry Gutov
2024-10-11 11:45         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71d57a53-f8d8-45f7-bff6-09f5acf292f8@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=73718@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=michael.albinus@gmx.de \
    --cc=spacibba@aol.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.