Skip to content
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

Slowing down when running simple code #205301

Closed
christopherdparker opened this issue Feb 15, 2024 · 3 comments
Closed

Slowing down when running simple code #205301

christopherdparker opened this issue Feb 15, 2024 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues notebook-execution Issues related to running cells in a notebook

Comments

@christopherdparker
Copy link

Type: Performance Issue

I'm reopening #191303 vscode.ipynb is running very slow. When I look at running extensions I see Unresponsive and Performance Issue notifications. Things like df.columns pause for 5-10 seconds before executing.

VS Code version: Code 1.86.2 (Universal) (903b1e9, 2024-02-13T19:42:13.651Z)
OS version: Darwin x64 23.3.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 x 3700)
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 2, 3, 4
Memory (System) 128.00GB (35.86GB free)
Process Argv --crash-reporter-id ffe1e2c8-0195-4e46-b241-0060dda23ec6
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   20	   393	 43270	code main
    0	   131	 43273	   gpu-process
    0	     0	 43274	   utility-network-service
    0	  1049	 43275	window [1] (PROFILE.cpuprofile.txt)
    0	   131	 43280	shared-process
    0	     0	 43476	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 43281	fileWatcher [1]
    0	   655	 43286	extensionHost [1]
    0	     0	 43295	     /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=43286
    0	     0	 43297	     /usr/local/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/chris/.vscode/extensions/ms-python.python-2024.0.1/pythonFiles/run-jedi-language-server.py
    0	     0	 43298	     /usr/local/Cellar/[email protected]/3.9.10/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python /Users/chris/.vscode/extensions/ms-python.isort-2023.10.1/bundled/tool/lsp_server.py
    0	 14287	 43358	     electron-nodejs (XrHhZwGwsEEV.js )
    0	     0	 43412	       electron-nodejs (min.js MathJax.js )
    0	     0	 43413	         electron-nodejs (min.js MathJax.js )
    0	   131	 43417	           electron-nodejs (min.js MathJax.js )
    0	     0	 43418	             gpu-process
    0	     0	 43419	             utility-network-service
    0	   131	 43420	             window
    0	  1049	 43293	   window
    0	   131	 43474	window [2] (Issue Reporter)
Workspace Info
;
Extensions (9)
Extension Author (truncated) Version
stata-enhanced kyl 1.6.1
debugpy ms- 2024.1.10441007
isort ms- 2023.10.1
python ms- 2024.0.1
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
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
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
h48ei257:30962250
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww2:30959801
b5d27386:30958190
fegfb526:30961430
3ef8e399:30964150
bg6jg535:30958357
ccp1r6:30958156

@christopherdparker
Copy link
Author

CPU-20240215T164859.809Z.cpuprofile.txt

Here is a profile of the running extensions

@mjbvz mjbvz assigned rebornix and unassigned mjbvz Feb 21, 2024
@rebornix rebornix added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Mar 13, 2024
@rebornix
Copy link
Member

@christopherdparker thanks for the cpu profile, will take a look!

@rebornix rebornix added the notebook-execution Issues related to running cells in a notebook label Mar 13, 2024
@rebornix rebornix assigned DonJayamanne and unassigned rebornix Dec 9, 2024
@DonJayamanne
Copy link
Contributor

Duplicate of #230187

@DonJayamanne DonJayamanne marked this as a duplicate of #230187 Dec 10, 2024
@DonJayamanne DonJayamanne added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 10, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues notebook-execution Issues related to running cells in a notebook
Projects
None yet
Development

No branches or pull requests

5 participants