microsoft / vscode

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

Copy and Paste is excruciatingly slow (5s) #226141

Open vvvvalvalval opened 3 weeks ago

vvvvalvalval commented 3 weeks ago

Type: Performance Issue

Cmd+C then Cmd+V. Will often take 5 second to paste a few words of text. Cursor still blinking.

VS Code version: Code 1.91.1 (Universal) (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:07:54.982Z) OS version: Darwin arm64 22.1.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 (8 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| |Load (avg)|8, 7, 7| |Memory (System)|24.00GB (0.43GB free)| |Process Argv|--crash-reporter-id 0cfb32bf-c275-4add-a0f8-72f4ea987a71| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 19 147 674 code main 7 49 694 gpu-process 0 25 695 utility-network-service 21 1819 701 window [1] (experimental-log.org — firefactor-analyses) 0 25 716 ptyHost 0 0 719 /bin/zsh -il 0 0 809 /bin/zsh -i 0 0 3408 /bin/zsh -i 0 0 14005 /bin/zsh -i 0 0 17514 /bin/zsh -i 14 74 717 shared-process 0 0 18162 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 25 718 fileWatcher [1] 0 98 7900 window 0 492 13966 extensionHost [1] 0 0 13978 /Users/val/.vscode/extensions/ms-python.python-2024.12.3-darwin-arm64/python-env-tools/bin/pet server 0 74 13980 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=13966 0 49 13983 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=13966 0 49 14001 /Users/val/miniconda3/envs/sig_conda_env/bin/python /Users/val/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py 0 74 14017 /Users/val/miniconda3/envs/sig_conda_env/bin/python /Users/val/.vscode/extensions/ms-python.python-2024.12.3-darwin-arm64/python_files/run-jedi-language-server.py 0 74 14066 electron-nodejs (RTJA.js ) 0 74 14068 electron-nodejs (Pj.js ) 0 74 14074 electron-nodejs (YoocvsFOADh.js ) 0 74 17489 electron-nodejs (p.js ) 0 74 17495 electron-nodejs (ATjnhe.js ) 0 74 17500 /Users/val/miniconda3/envs/sig_conda_env/bin/python -m ipykernel_launcher --f=/Users/val/Library/Jupyter/runtime/kernel-v2-13966mHUsAdAJS2S3.json 0 74 17513 electron-nodejs (PGnEgTaF.js ) 27 98 18159 window [2] (Issue Reporter) ```
Workspace Info ``` | Window (experimental-log.org — firefactor-analyses) | Folder (firefactor-analyses): more than 22498 files | File types: py(5787) pyc(5785) pyi(2142) dat(1016) js(510) xml(460) | txt(162) json(147) so(134) csv(106) | Conf files: package.json(14) webpack.config.js(1) makefile(1); ```
Extensions (20) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 linter-gfortran|for|3.2.0 debugpy|ms-|2024.8.0 isort|ms-|2023.10.1 python|ms-|2024.12.3 jupyter|ms-|2024.6.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.19 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-ssh|ms-|0.113.1 remote-ssh-edit|ms-|0.86.0 cmake-tools|ms-|1.18.44 cpptools|ms-|1.21.6 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.3 r|REd|2.8.4 vscode-multiclip|sle|0.1.5 cmake|twx|0.0.17 org-mode|vsc|1.0.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 bdiig495:31013172 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 impr_priority:31102340 nativerepl2:31104044 refactort:31108082 ccpltc:31103427 pythonrstrctxt:31112756 wkspc-onlycs-t:31111718 ```
vs-code-engineering[bot] commented 3 weeks ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.92.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

gjsjohnmurray commented 3 weeks ago

Please use the Start Extension Bisect command to check whether one of your extensions may be causing this.