-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Git - extremely slow even though running the same commands manually is very fast #171016
Comments
@CherryDT, thank you very much for filling this issue and for including the logs. Looking at the notes, I see that you are using WSL and you are opening your files from the Windows file system (ex: |
Hi, this is WSL1 and not WSL2 so it's less of an issue and I had no problems with it until recently, also as I mentioned running the exact same commands manually in the terminal is lightning fast so that can't be the problem. Right now usong VolFS is not an option for me for these projects due to how everything is set up in my development flow. Since this felt like a regression I was hoping it could be fixed. |
I am not aware of any recent changes that might be causing such behaviour but assuming that this is indeed a regression I was wondering if you would be able to provide the latest version of VS Code or the WSL extension in which you were not seeing the performance degradation. That will help me track down the change that caused the regression. Thanks! |
Same issue but not on WSL, on Ubuntu 20.04 |
Same issue on mac os ventura. |
Same symptoms for me but on Windows. I'm happy to help diagnose the problem, but I'll need direction. |
Same issue,
I read maybe removing git from windows credential manager... |
Edit: never mind, I've figured it out. I was working on the WSL but through the Windows-native VSCode. That is to say I didn't have the WSL extension installed. After installing the extension and updating git (can't hurt), everything is buttery smooth. |
I'm with @lughino, I'm still seeing this issue and would like it to be addressed instead of dismissed and locked. I'm on macOS 14.2.1 Sonoma with VSCode 1.85.1 and Git 2.43.0. Here are some example logs from today (expand).
The repo is br3ndonland/dotfiles. VSCode settings are in that repo here and the
|
I can confirm it hangs after |
Type: Bug
Any action in Git takes ages (minutes). The Git output window shows that each command which VSCode executes takes 3-20 seconds (!). However, if I manually copy those commands into the console, they execute almost instantly, so it's unclear where all that time gets wasted.
I'm on Remote WSL1.
Here is an excerpt from the log:
VS Code version: Code 1.74.3 (97dec17, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
Remote OS version: Linux x64 4.4.0-19041-Microsoft
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (65)
The text was updated successfully, but these errors were encountered: