microsoft / vscode

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

Slow and glitchy #206428

Closed Bohemus307 closed 9 months ago

Bohemus307 commented 9 months ago

Type: Bug

Use Vscode and it will become slow and glitchy and this is new since last couple updates and is awful.

VS Code version: Code 1.86.2 (Universal) (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:42:13.651Z) OS version: Darwin arm64 23.2.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |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)|3, 3, 3| |Memory (System)|16.00GB (2.90GB free)| |Process Argv|--crash-reporter-id 517809ab-737f-4ff7-af28-f264b90e69a1| |Screen Reader|no| |VM|0%|
Extensions (38) Extension|Author (truncated)|Version ---|---|--- aws-toolkit-vscode|ama|2.11.0 vscode-tailwindcss|bra|0.10.5 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.8.5 vscode-markdownlint|Dav|0.54.0 vscode-eslint|dba|2.4.4 vscode-deno|den|3.33.3 dotenv-vscode|dot|0.28.1 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.8.2 prettier-vscode|esb|10.1.0 vscode-expo-tools|exp|1.0.7 vscode-github-actions|git|0.26.2 vscode-pull-request-github|Git|0.80.1 vscode-graphql-syntax|Gra|1.3.2 vscode-react-typescript|inf|1.3.1 rainbow-csv|mec|3.11.0 vscode-docker|ms-|1.29.0 debugpy|ms-|2024.0.0 python|ms-|2024.0.1 remote-containers|ms-|0.338.1 cmake-tools|ms-|1.17.17 cpptools|ms-|1.19.4 cpptools-extension-pack|ms-|1.3.0 vscode-serial-monitor|ms-|0.11.0 vsliveshare|ms-|1.0.5905 postman-for-vscode|Pos|0.18.0 prisma|Pri|5.10.2 vscode-yaml|red|1.14.0 vsmqtt|rpd|1.5.0 markdown-preview-enhanced|shd|0.8.11 cmake|twx|0.0.17 vscode-mdx|uni|1.7.3 vscode-arduino|vsc|0.6.0 vscode-icons|vsc|12.7.0 gitblame|wad|10.9.0 rtlcheatsheet|wil|1.0.0 vscode-import-cost|wix|3.3.0 (4 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 edj9j583:30958191 fegfb526:30961430 3ef8e399:30962115 e3gdj431:30958358 ccp2r6:30958158 ```
gjsjohnmurray commented 9 months ago

/needsPerfInfo

vscodenpa commented 9 months ago

Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues

Happy Coding!

Adam-Gibbs commented 9 months ago

I have had this issue for a while, the fix I found is to disable all your extensions, restart VSCode and the re-enable them all. However I still have problems with the editor taking a while to close, with a little loading spinner and then crashing anyway. Would this have something to do with the restore auxiliary windows update?

I am on the snap version, Ubuntu Linux. 32GB memory. AMD Ryzen 5 2600X CPU.

Result of code --list-extensions aaron-bond.better-comments
adelphes.android-dev-ext
akamud.vscode-javascript-snippet-pack
aki77.rails-routes
aksharpatel47.vscode-flutter-helper
alefragnani.bookmarks
aleksandardev.vscode-sequence-diagrams
alexshen.classdiagram-ts
amiralizadeh9480.laravel-extra-intellisense
amirmarmul.laravel-blade-vscode
austenc.laravel-blade-spacer
bajdzis.vscode-database
be5invis.vscode-custom-css
bmewburn.vscode-intelephense-client
bradlc.vscode-tailwindcss
bung87.rails
bung87.vscode-gemfile
bweave.rails-flip-flop
castwide.solargraph
chris-noring.node-snippets
christian-kohler.path-intellisense
codingyu.laravel-goto-view
connorshea.vscode-ruby-test-adapter
csstools.postcss
dart-code.dart-code
dart-code.flutter
davidanson.vscode-markdownlint
dbaeumer.vscode-eslint
dcortes92.freemarker
diemasmichiels.emulate
donjayamanne.jquerysnippets
eamodio.gitlens
eg2.vscode-npm-script
esbenp.prettier-vscode
firefox-devtools.vscode-firefox-debug
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
formulahendry.code-runner
formulahendry.docker-explorer
funkyremi.vscode-google-translate
genieai.chatgpt-vscode
georgykurian.laravel-ide-helper
gimly81.matlab
github.copilot
github.copilot-chat
github.vscode-pull-request-github
gitlab.gitlab-workflow
gruntfuggly.todo-tree
hbenl.vscode-test-explorer
hoovercj.vscode-power-mode
ikappas.composer
ikappas.phpcs
ionic.ionic
janisdd.vscode-edit-csv
janne252.fontawesome-autocomplete
jebbs.plantuml
jemmyw.rails-fast-nav
jeremyljackson.vs-docblock
jspolancor.presentationmode
k--kato.intellij-idea-keybindings
kaiwood.endwise
karyfoundation.racket
madhavd1.javadoc-tools
mhutchie.git-graph
mikestead.dotenv
mkloubert.vscode-kanban
mongodb.mongodb-vscode
ms-mssql.data-workspace-vscode
ms-mssql.mssql
ms-mssql.sql-bindings-vscode
ms-mssql.sql-database-projects-vscode
ms-python.debugpy
ms-python.isort
ms-python.python
ms-python.vscode-pylance
ms-vscode.cpptools
ms-vscode.github-issues-prs
ms-vscode.test-adapter-converter
ms-vsliveshare.vsliveshare
mtxr.sqltools
mtxr.sqltools-driver-mysql
naco-siren.gradle-language
nash.awesome-flutter-snippets
ninoseki.vscode-gem-lens
onecentlin.laravel-blade
onecentlin.laravel5-snippets
pavlitsky.yard
pkief.material-icon-theme
redhat.java
redhat.vscode-commons
redhat.vscode-xml
ritwickdey.liveserver
robbowen.synthwave-vscode
roerohan.mongo-snippets-for-node-js
rubbersheep.gi
rubymaniac.vscode-paste-and-indent
rvest.vs-code-prettier-eslint
ryu1kn.partial-diff
searking.preview-vscode
shengchen.vscode-checkstyle
shuffle-dev.shuffle-dev
sianglim.slim
sonarsource.sonarlint-vscode
stef-k.laravel-goto-controller
streetsidesoftware.code-spell-checker
tmikoss.rails-latest-migration
tomoki1207.pdf
tyriar.sort-lines
usernamehw.errorlens
visualstudioexptteam.intellicode-api-usage-examples
visualstudioexptteam.vscodeintellicode
vortizhe.simple-ruby-erb
vscjava.vscode-gradle
vscjava.vscode-java-debug
vscjava.vscode-java-dependency
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-lombok
vscjava.vscode-maven
vscjava.vscode-spring-initializr
vue.volar
wmaurer.change-case
xabikos.javascriptsnippets
yzhang.markdown-all-in-one
Matching extensions (11) bradlc.vscode-tailwindcss
christian-kohler.path-intellisense
davidanson.vscode-markdownlint
dbaeumer.vscode-eslint
eamodio.gitlens
esbenp.prettier-vscode
github.vscode-pull-request-github
ms-python.debugpy
ms-python.python
ms-vscode.cpptools
ms-vsliveshare.vsliveshare
bpasero commented 9 months ago

Can you follow this wiki and post the results back here to understand more about why performance is so bad for you: https://github.com/Microsoft/vscode/wiki/Performance-Issues

Thanks!

Bohemus307 commented 9 months ago

I thought i closed this before i finished creation. My apologies I will be more careful in the future.