microsoft / vscode

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

cpu #176315

Closed Wid0 closed 1 year ago

Wid0 commented 1 year ago

Type: Performance Issue

please help me.cpu 100%

VS Code version: Code 1.76.0 (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:22:44.506Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 3 4300U with Radeon Graphics (4 x 2695)| |GPU Status|2d_canvas: enabled
canvas_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)|7.37GB (1.50GB free)| |Process Argv|--crash-reporter-id 2766a21b-e979-41a3-b059-ee0d0ee2fadb| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 112 3312 code main 0 39 3024 utility-network-service 0 26 4160 crashpad-handler 1 171 4752 utility-process 0 86 2320 electron-nodejs ("C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\lenovo\.vscode\extensions\pranaygp.vscode-css-peek-4.2.0\server\out\server.js --node-ipc --clientProcessId=4752) 0 261 9052 electron-nodejs ("C:\Users\lenovo\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\lenovo\.vscode\extensions\bmewburn.vscode-intelephense-client-1.9.5\node_modules\intelephense\lib\intelephense.js --node-ipc --clientProcessId=4752) 0 5 12692 "C:\Program Files\Git\cmd\git.exe" status -z -uall 0 10 248 console-window-host (Windows internal process) 7 12 17376 git.exe status -z -uall 53 119 14332 c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint_managed-jre\jre\jdk-11.0.15+10-jre\bin\java -jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\server\sonarlint-ls.jar 50021 -analyzers c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarjava.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarjs.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarphp.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarpython.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarhtml.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarxml.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonarcfamily.jar c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint-vscode-3.15.1-win32-x64\analyzers\sonartext.jar 0 10 7848 console-window-host (Windows internal process) 1 83 6584 issue-reporter 0 110 9448 gpu-process 0 143 11380 shared-process 0 71 9576 ptyHost 0 79 16828 fileWatcher 0 220 15948 window (app.php - example-app - Visual Studio Code) ```
Workspace Info ``` | Window (app.php - example-app - Visual Studio Code) | Folder (example-app): 12280 files | File types: php(7609) svg(1623) md(272) js(186) json(172) scss(108) | stub(84) css(57) png(47) rst(39) | Conf files: dockerfile(7) package.json(2) makefile(2) jsconfig.json(1); ```
Extensions (51) Extension|Author (truncated)|Version ---|---|--- python-image-preview|076|0.1.2 vscode-intelephense-client|bme|1.9.5 java-run|cao|1.1.4 package-json-upgrade|cod|1.6.0 dart-code|Dar|3.60.1 composer-php-vscode|DEV|1.31.12740 adonisjs-snippets|Ema|1.0.1 code-runner|for|0.12.0 vscode-pull-request-github|Git|0.60.0 go|gol|0.38.0 adonisjs-snippets|Hri|1.0.2 composer|ika|0.8.0 adonis-vscode-extension|jri|0.9.1 composer-intellisense|kai|0.7.0 edge|luo|0.3.2 vscode-docker|ms-|1.24.0 anaconda-extension-pack|ms-|1.0.1 isort|ms-|2022.8.0 python|ms-|2023.4.0 vscode-pylance|ms-|2023.3.10 jupyter|ms-|2023.2.1000592019 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-ssh|ms-|0.98.0 remote-ssh-edit|ms-|0.84.0 powershell|ms-|2023.2.1 remote-explorer|ms-|0.2.0 debugger-for-chrome|msj|4.13.0 gradle-language|nac|0.2.3 laravel-blade|one|1.32.0 material-icon-theme|PKi|4.24.0 vscode-css-peek|pra|4.2.0 open-php-html-js-in-browser|Pri|2.2.0 vscode-yaml|red|1.11.0 vscode-gradle-extension-pack|ric|0.0.4 LiveServer|rit|5.7.9 flutter-dart-utils|Rod|0.4.5 javafx-support|shr|0.0.1 sonarlint-vscode|Son|3.15.1 open-in-browser|tec|2.0.0 python|tht|0.2.3 vscode-npm-scripts|tra|0.2.1 errorlens|use|3.7.0 vscode-gradle|vsc|3.12.6 volar|Vue|1.2.0 JavaScriptSnippets|xab|1.8.0 php-debug|xde|1.32.0 html-css-class-completion|Zig|1.20.0 php-intellisense|zob|1.1.2 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vscaac:30438847 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848:30662994 nodejswelcome1:30587005 2e4cg342:30602488 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 a9j8j154:30646983 pythonb192:30669360 funwalk2:30676043 pythonms35:30676800 ```
IllusionMH commented 1 year ago

/needsMoreInfo

Is it reproducible with all extensions disabled? You can try this with F1 and >Developer: Reload Window With Extensions Disabled

Looks like SonarLint might cause this problem: 53% 119 14332 c:\Users\lenovo\.vscode\extensions\sonarsource.sonarlint_managed-jre\...

vscodenpa commented 1 year ago

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!