microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.83k stars 29.5k forks source link

Find & Replace in Files => Very Slow on Mac #234314

Open FuadEfendi opened 1 week ago

FuadEfendi commented 1 week ago

Type: Bug

After recent upgrade it became super slow. I executed "Find and Replace" action in files, about 200 files, about 400 replacements, it created many "rg" processes on MacOs which slowed Mac for about 5-10 minutes, coplete slowdown!!! It reports that files were processed, but I see "rg" processes very long time, not sure, I feel it hangs, I cannot run any Terminal commands for example. Happened few times already.

VS Code version: Code 1.95.3 (Universal) (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z) OS version: Darwin arm64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Max (10 x 2400)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|854, 236, 512| |Memory (System)|64.00GB (1.14GB free)| |Process Argv|--crash-reporter-id 176211f7-0493-4455-86c6-1e05a06f6d84| |Screen Reader|no| |VM|0%|
Extensions (45) Extension|Author (truncated)|Version ---|---|--- project-manager|ale|12.8.0 calva|bet|2.0.481 calva-spritz|bet|1.0.5 vscode-tailwindcss|bra|0.12.14 dart-code|Dar|3.100.0 flutter|Dar|3.100.0 code-runner|for|0.12.2 get-snippets|get|4.3.0 go|gol|0.42.1 arb-editor|Goo|0.2.1 firebase-snippets|has|0.0.1 vscode-drawio|hed|1.6.6 Sbt|itr|0.1.7 flutter-tree|mar|1.0.0 git-graph|mhu|1.30.0 xml-format|mik|1.1.3 inline-fold|moa|0.2.6 vscode-docker|ms-|1.29.3 debugpy|ms-|2024.12.0 python|ms-|2024.20.0 vscode-pylance|ms-|2024.11.2 jupyter|ms-|2024.10.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.21 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.388.0 vscode-yaml-sort|Pas|6.6.0 vscode-thunder-client|ran|2.30.0 java|red|1.36.0 LiveServer|rit|5.7.9 flutter-riverpod-snippets|rob|1.2.2 scala|sca|0.5.8 markdown-preview-enhanced|shd|0.8.15 iconfont-preview|stx|0.0.5 even-better-toml|tam|0.19.2 intellicode-api-usage-examples|Vis|0.2.9 vscodeintellicode|Vis|1.3.2 vscode-gradle|vsc|3.16.4 vscode-java-debug|vsc|0.58.1 vscode-java-dependency|vsc|0.24.1 vscode-java-pack|vsc|0.29.0 vscode-java-test|vsc|0.43.0 vscode-maven|vsc|0.44.0 markdown-all-in-one|yzh|3.6.2
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 da93g388:31013173 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 nativerepl1:31139838 pythonrstrctxt:31112756 cf971741:31144450 iacca1:31171482 notype1:31157159 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 ```
longvudai commented 1 week ago

I have the same problem. Image