[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-27 b46c75b: xref-matches-in-files: Big Tramp speed-up

From: Philippe Vaucher
Subject: Re: emacs-27 b46c75b: xref-matches-in-files: Big Tramp speed-up
Date: Mon, 13 Jan 2020 10:50:48 +0100

On 08.01.2020 22:51, Stefan Monnier wrote:
> Yes, I saw that, but it's still not clear to me which part of this costs
> so much more than tramp-file-local-name itself, nor why.

The whole of it, mostly. I've shown a simple patch which improved
performance a lot, by Michael says it's unmaintainable (IIUC):

I'm not sure wether what I'll say is relevant to this discussion (please forgive me if it is not), but I just wanted to mention that a significant part of "debugging TRAMP problems" in projects like projectile is related to TRAMP's speed.

I always assumed it was due to the fact that checking file attributes over SSH is unavoidably slower than doing it locally, but if TRAMP can be improved for thingsĀ like `locate-dominating-file` over TRAMP it'd be a huge help.

Kind regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]