Skip to content

VS CODE running super slow today #72472

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

Closed
jrodbshaw opened this issue Apr 17, 2019 · 5 comments
Closed

VS CODE running super slow today #72472

jrodbshaw opened this issue Apr 17, 2019 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@jrodbshaw
Copy link

We have written the needed data into your clipboard because it was too large to send. Please paste.

@jrodbshaw
Copy link
Author

Issue Type: Performance Issue

Everything just takes ages to load, even removing extensions it still lags, not as bad but it does.
My activity tracker has three sometimes four code Helper's at 97-99% CPU

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T07:04:11.329Z)
OS version: Darwin x64 18.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) m3-6Y30 CPU @ 0.90GHz (4 x 1100)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 7, 11, 14
Memory (System) 8.00GB (0.27GB free)
Process Argv /private/var/folders/gk/dqxc1_3n6hj5xpbbrtg1ssy80000gn/T/AppTranslocation/20322C96-05C5-4D9C-AAE0-3BD32E1C6777/d/Visual Studio Code.app/Contents/MacOS/Electron
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   11	   123	  6061	code main
    0	    49	  6063	   gpu-process
    0	   123	  6307	   shared-process
    0	   238	  6901	   window (RegisterForm.js — client)
    0	   115	  6905	     extensionHost
    0	    66	  6909	       electron_node eslintServer.js 
    0	   246	  6910	       electron_node tsserver.js 
    0	    57	  6938	         electron_node typingsInstaller.js tsserver.js typesMap.js 
    0	    57	  6912	       electron_node server.js 
    0	    49	  7609	       /private/var/folders/gk/dqxc1_3n6hj5xpbbrtg1ssy80000gn/T/AppTranslocation/20322C96-05C5-4D9C-AAE0-3BD32E1C6777/d/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /private/var/folders/gk/dqxc1_3n6hj5xpbbrtg1ssy80000gn/T/AppTranslocation/20322C96-05C5-4D9C-AAE0-3BD32E1C6777/d/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=6905
    0	    41	  6906	     watcherService
    0	    49	  6914	     searchService
    0	     0	  6944	     /bin/zsh -l
    0	    90	  7752	   window (Issue Reporter)
    0	     0	  7754	   (ps)
    0	     0	  7755	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Workspace Info
|  Window (RegisterForm.js — client)
|    Folder (client): 20 files
|      File types: js(9) DS_Store(3) json(3) gitignore(1) md(1) lock(1) ico(1)
|                  html(1)
|      Conf files: package.json(1) settings.json(1);
Extensions (46)
Extension Author (truncated) Version
better-comments aar 2.0.3
jest-snippets and 1.7.0
vscode-color ans 0.4.5
snapshot-tools asv 0.3.0
vscode-toggle-quotes Bri 0.3.2
vscode-yarn-script car 0.0.1
npm-intellisense chr 1.3.0
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.61
vscode-svgviewer css 1.4.7
vscode-eslint dba 1.6.0
vscode-faker dee 1.3.0
githistory don 0.4.6
es7-react-js-snippets dsz 2.2.1
vscode-html-css ecm 0.2.0
vscode-npm-script eg2 0.3.5
react-native-react-redux EQu 2.0.3
vsc-material-theme Equ 2.6.2
prettier-vscode esb 1.8.1
auto-close-tag for 0.5.6
auto-rename-tag for 0.0.15
vscode-yarn gam 1.6.0
vscode-pull-request-github Git 0.1.7
react-jest-vscode-snippets jal 0.0.3
vscode-styled-components jpo 0.0.26
node-module-intellisense lei 1.5.0
vs-color-picker lih 1.0.0
google-fonts lio 0.0.1
rainbow-csv mec 1.0.0
dotenv mik 1.0.1
vscode-scss mrm 0.6.2
cpptools ms- 0.21.0
debugger-for-chrome msj 4.11.3
color-highlight nau 2.3.0
indent-rainbow ode 7.4.0
prettier-vscode-with-tabs pas 1.1.0
vscode-docker Pet 0.6.1
material-icon-theme PKi 3.7.0
LiveServer rit 5.5.1
js-jsx-snippets sky 0.3.0
code-spell-checker str 1.6.10
ejs-snippets Tao 0.1.0
ReactSnippetsStandard Tim 1.1.0
vscode-react-native vsm 0.9.1
vscode-import-cost wix 2.12.0
JavaScriptSnippets xab 1.7.2

@octref octref added the info-needed Issue requires more information from poster label Apr 20, 2019
@octref
Copy link
Contributor

octref commented Apr 20, 2019

Does this happen if you disable all extensions?

You an run "Process Explorer" command to see which extension is causing CPU spikes.

@justinobney

This comment has been minimized.

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 22, 2019

@jrodbshaw Please follow these instructions to collect performance information. Share the output of code --status

Also, make sure you are on the latest VS Code version (1.33.1)

@mjbvz
Copy link
Collaborator

mjbvz commented Apr 29, 2019

Closing as more information is needed to investigate.

One possible cause is DefinitelyTyped/DefinitelyTyped#34391, so make sure you do not have one of the broken versions of @types/styled-components installed under your node_modules

@mjbvz mjbvz closed this as completed Apr 29, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants