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

Search in remote SSH is slow #23570

Open
1 task done
pepyakin opened this issue Jan 23, 2025 · 2 comments
Open
1 task done

Search in remote SSH is slow #23570

pepyakin opened this issue Jan 23, 2025 · 2 comments
Labels
bug [core label] needs info / awaiting response Issue that needs more information from the user performance Feedback for performance issues, speed, memory usage, etc remote dev Feedback for remote development servers search / project search Feedback for in-file search, multi-buffer global search, etc

Comments

@pepyakin
Copy link
Contributor

pepyakin commented Jan 23, 2025

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I am working with a Rust project on a remote machine and it takes a lot of time to find anything in search. My search query is plain text, with no special query params.

I was able to confirm that if I manually exclude some files then the search becomes fast again. My excludes include:

  1. benchtop/target/**,
  2. benchtop/private/**,
  3. benchtop/perf.data

If I remove from the excludelist any of those it becomes slow again.

The benchtop/private/** has a directory that I manually add into .git/info/excludes and where I keep ELFs of that benchtop project and some perf.data files (the perf data is in gigabytes).

Zed Version and System Specs

Zed: v0.170.2 (Zed)
OS: macOS 15.0.1
Memory: 64 GiB
Architecture: aarch64

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

@pepyakin pepyakin added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Jan 23, 2025
@JosephTLyons JosephTLyons added performance Feedback for performance issues, speed, memory usage, etc search / project search Feedback for in-file search, multi-buffer global search, etc remote dev Feedback for remote development servers and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 23, 2025
@osiewicz
Copy link
Contributor

Can you run a dev version of Zed? If so, give #23581 a go - it should land on Preview next Wednesday and most likely allow us to skip most of the binary files that we're scanning redundantly in your project.

@pepyakin
Copy link
Contributor Author

oh, I built the latest master but it seems it is not that simple, due to

ZED_BUILD_REMOTE_SERVER is not set and no remote server exists at (".zed_server/zed-remote-server-dev-build")

I'll give it another shot next afternoon.

@notpeter notpeter added the needs info / awaiting response Issue that needs more information from the user label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] needs info / awaiting response Issue that needs more information from the user performance Feedback for performance issues, speed, memory usage, etc remote dev Feedback for remote development servers search / project search Feedback for in-file search, multi-buffer global search, etc
Projects
None yet
Development

No branches or pull requests

4 participants