Open CherryDT opened 1 year ago
@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: /mnt/c/
). When it comes to file system operations, it is recommended that you store your files on the Linux file system and not on the Windows file system. Could you please opening your folder/workspace from the Linux file system and see if performance improves? Thank you!
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. In my case, it takes minutes. If I perform a rebase, the entire vscode freeze for minutes. I appreciate this is a hard issue to solve, but I saw several issues opened and then closed and locked by the bot without a resolution. I really hope this issue would get prioritised accordingly and tackled once for all
Same symptoms for me but on Windows. I'm happy to help diagnose the problem, but I'll need direction.
Same issue,
2023-06-10 00:40:51.412 [info] > git cat-file -s 86c9c23b95b903a9376c0ea724183eb7a1193f2d [5495ms]
2023-06-10 00:40:51.412 [info] > git cat-file -s 137fa6e4ee75496a57cbcf263c73761b3c7c67fa [5504ms]
2023-06-10 00:40:51.413 [info] > git cat-file -s ab7c890b053250eb89845a421c9768f1509f32d5 [5518ms]
2023-06-10 00:40:51.413 [info] > git cat-file -s b6a5275d8ca215bf788fae927a75529c3eed656c [5525ms]
2023-06-10 00:40:51.413 [info] > git cat-file -s 042a416132a71b65bec79c4064cfd30689182ff5 [5531ms]
I read maybe removing git from windows credential manager...
I'm not sure what changed, but git interaction has been massively better over the last month or so.
~Not for me on 1.85.1, it's still extremely slow.~
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.
Same issue on mac os ventura. In my case, it takes minutes. If I perform a rebase, the entire vscode freeze for minutes. I appreciate this is a hard issue to solve, but I saw several issues opened and then closed and locked by the bot without a resolution. I really hope this issue would get prioritised accordingly and tackled once for all
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.
The repo is br3ndonland/dotfiles. VSCode settings are in that repo here and the .gitconfig
is here.
git status -z -uall
seems to be one of the slowest steps, frequently taking 20-30 seconds. The Git docs say, "Because it takes extra work to find untracked files in the filesystem, this mode may take some time in a large working tree." I've found that it's slow with or without untracked files present.
I can confirm it hangs after git status -z -uall
(or something that comes after it, as it says git status -z -uall (2ms)
). It disables pretty much all IDE functionality while waiting for that to finish, it's a nightmare.
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 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 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
|Item|Value| |---|---| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1697)| |GPU Status|2d_canvas: enabledcanvas_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| |Load (avg)|undefined| |Memory (System)|31.23GB (4.81GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 4.4.0-19041-Microsoft| |CPUs|AMD Ryzen 7 PRO 4750U with Radeon Graphics (16 x 1700)| |Memory (System)|31.23GB (4.81GB free)| |VM|0%|
Extensions (65)
Extension|Author (truncated)|Version ---|---|--- auto-close-tag|for|0.5.14 vscode-graphql-syntax|Gra|1.0.5 dotenv|mik|1.0.1 vscode-aql|mon|1.7.0 jupyter-keymap|ms-|1.0.0 remote-containers|ms-|0.266.1 remote-ssh|ms-|0.94.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.72.0 remote-explorer|ms-|0.0.3 ejs-language-support|Qas|0.0.1 vscode-todo-highlight|way|1.0.5 vscode-devdocs|akf|1.0.3 svelte-intellisense|ard|0.7.1 vscode-intelephense-client|bme|1.9.3 npm-intellisense|chr|1.4.4 js-codeformer|cms|2.6.1 compulim-vscode-closetag|Com|1.2.0 vscode-eslint|dba|2.2.6 devdocs|dei|0.2.0 vscode-new-file|dku|4.0.2 dbux-code|Dom|0.7.9 xml|Dot|2.5.1 EditorConfig|Edi|0.16.4 copilot|Git|1.65.7705 vscode-graphql-execution|Gra|0.1.6 vscode-graphql-syntax|Gra|1.0.5 vscode-git-blamer|how|1.1.2 join-comment-aware|joh|0.0.3 solidity|Jua|0.0.141 edge|luo|0.3.2 rainbow-csv|mec|3.5.0 csharp|ms-|1.25.2 vscode-dotnet-runtime|ms-|1.6.0 isort|ms-|2022.8.0 python|ms-|2022.20.1 vscode-pylance|ms-|2023.1.10 jupyter|ms-|2022.11.1003412109 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.12 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 cpptools|ms-|1.13.9 hexeditor|ms-|1.9.9 hexeditor|not|1.8.2 vscode-print|pdc|0.10.20 svelte-extractor|pro|0.0.3 vscode-data-preview|Ran|2.3.0 vscode-data-table|Ran|1.12.0 vscode-yaml|red|1.11.0 ActiveFileInStatusBar|Ros|1.0.3 vscode-paste-and-indent|Rub|0.0.8 bracket-jumper|sas|1.1.8 trailing-spaces|sha|0.4.1 vscode-standard|sta|2.1.3 runme|sta|0.4.2 vscode-stripe|str|2.0.14 ignore-gitignore|stu|1.0.1 svelte-vscode|sve|107.0.1 es6-string-html|Tob|2.12.0 sort-***s|Tyr|1.9.1 use-strict-everywhere|vee|0.1.3 bracket-padder|via|0.3.0 change-case|wma|1.0.0 html-css-class-completion|Zig|1.20.0