Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow autocomplete when opening files over SSHFS #11604

Open
v1bri opened this issue Aug 30, 2024 · 0 comments · May be fixed by #11787
Open

Slow autocomplete when opening files over SSHFS #11604

v1bri opened this issue Aug 30, 2024 · 0 comments · May be fixed by #11787
Labels
C-bug Category: This is a bug

Comments

@v1bri
Copy link

v1bri commented Aug 30, 2024

Summary

The editor becomes extremely slow when trying to open files (via :o) that are accessed via SSHFS mounts. Every new character takes 1-2 seconds to show up, as if Helix is re-scanning the directory with every keystroke. ssh-ping reports latency to the remote server as ~50 ms and my SSH terminals are very responsive, so I don't suspect a bad connection.

I usually open Helix inside an SSH terminal to edit files "locally" on the server. I ran the above experiment to see if the "local Helix + remote filesystem" setup was better than the "remote Helix + local filesystem".

Reproduction Steps

I tried this:

  1. Mount $DIRECTORY over SSHFS
  2. Open Helix
  3. Try to open a file under $DIRECTORY with :o
  4. Type path to the file.

I expected this to happen:

Editor responds quickly to keystrokes.

Instead, this happened:

Editor becomes very slow to respond.

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

Linux

Terminal Emulator

GNOME Terminal

Installation Method

Download binary from releases page.

Helix Version

helix 24.7 (079f544)

@v1bri v1bri added the C-bug Category: This is a bug label Aug 30, 2024
@rhogenson rhogenson linked a pull request Sep 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant