-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Zed crashes and is slow in large code base. #24099
Comments
Could you share the trace of a crash? The slow loading is somewhat of a known issue, as what's slow in this case is us fetching the git status of all the files in your worktree. |
Ok, sorry, I didn't notice it in the original issue; the crash log seems kinda unrelated to the worktree scanning issue. Does it crash for you in other projects too? |
@sam-b-rose how much time does running |
It takes me 5 seconds, but why is zed waiting for whole git status. |
That's the gist of the issue; it should not be waiting for a git status on the init path. It does so because we store git status alongside other metadata of worktree entries, which means that when we first try to walk your project, we have to wait for |
yea it opens instantly if there is no .git . |
The |
@sam-b-rose yes, that's kinda the same as having the .git within your worktree. |
I haven't been able to replicate the issue in the large codebase. Currently, the time is pretty short:
|
#24307 had been merged and I see much faster project panel interactions in If you can build from source and give it a try, or wait until next Preview version to release with it. |
okay thanks. |
Summary
I cloned chromium source and opened it in zed. It takes lot of time just to show files and folders. Additionally it crashes also.
crash.log
Zed Version and System Specs
Zed 0.171.6
Macos Sequoia 15.3
ScreenFlow.mp4
The text was updated successfully, but these errors were encountered: