microsoft / vscode

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

long time running code #206091

Closed paula5566 closed 6 months ago

paula5566 commented 6 months ago

Type: Performance Issue

I ran a small block of code on Visual Studio Code using Jupyter extension for Data science It took more than 23 minuites and still continuing but in Google Colab it took 0.0sec. What should I do to reduce the time?

VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5700U with Radeon Graphics (16 x 1797)| |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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|7.33GB (0.53GB free)| |Process Argv|--crash-reporter-id 08756532-d700-459f-afad-7ff44e09b8d7| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 64 30436 code main 0 91 4956 extensionHost [1] 0 218 5716 electron-nodejs (bundle.js ) 0 14 9136 c:\Users\paula\AppData\Local\Microsoft\WindowsApps\python3.12.exe c:\Users\paula\.vscode\extensions\ms-toolsai.jupyter-2024.1.1-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 4956 0 3 8844 C:\WINDOWS\system32\conhost.exe 0x4 0 13 14436 c:\Users\paula\AppData\Local\Programs\Python\Python312\python.exe c:\Users\paula\.vscode\extensions\ms-python.isort-2023.13.10531006\bundled\tool\lsp_server.py 0 3 23768 C:\WINDOWS\system32\conhost.exe 0x4 0 7 31112 "C:\Users\paula\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\paula\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=4956 0 114 39392 electron-nodejs (uq.js ) 0 10 45024 C:\WINDOWS\system32\conhost.exe 0x4 0 75 5724 gpu-process 0 40 11752 window 0 11 24300 fileWatcher [1] 0 174 25080 window [1] (Pandas.ipynb - Paula IV - Visual Studio Code) 0 12 26792 utility-network-service 0 42 33396 shared-process 0 83 34232 window [2] (Issue Reporter) 0 8 34764 crashpad-handler ```
Workspace Info ``` | Window (Pandas.ipynb - Paula IV - Visual Studio Code) | Folder (Paula IV): 35 files | File types: py(12) htm(7) xml(4) ipynb(2) png(2) gitignore(1) iml(1) | css(1) | Conf files:; ```
Extensions (19) Extension|Author (truncated)|Version ---|---|--- lua-debug|act|2.0.4 vscode-html-css|ecm|2.0.9 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.5.0 debugpy|ms-|2024.0.0 isort|ms-|2023.13.10531006 python|ms-|2024.0.1 vscode-pylance|ms-|2024.2.2 jupyter|ms-|2024.1.1 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 cmake-tools|ms-|1.17.16 cpptools|ms-|1.19.4 cpptools-extension-pack|ms-|1.3.0 LiveServer|rit|5.7.9 lua|sum|3.7.4 cmake|twx|0.0.17 (3 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 bf62j303:30959262 edj9j583:30969295 7j2b6412:30969109 e3gdj431:30958358 ```
VSCodeTriageBot commented 6 months 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!

VSCodeTriageBot commented 6 months 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!