Description
Issue Type: Performance Issue
I keep seeing very high CPU usage by VSCode helper and child python processes of VSCode Helper. Of course, once I started writing up this issue, the processes ended 😕. From the Process Explorer, it looked like the python completion process was at fault. Sometimes Activity Monitor says there are multiple VSCode based processes using high CPU usage, but I haven't had a chance to catch those with the ProcessExplorer.
I'm not sure what causes this, since it doesn't always occur right at start up. I haven't been able to tie it to any particular file, though I have been working on the same few. It seems to be able to occur multiple times in a session. I'm not sure if this is only when I force the process to end.
Extension version: 2019.6.24221
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:56:38.504Z)
OS version: Darwin x64 18.6.0
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | 5, 5, 4 |
Memory (System) | 16.00GB (0.60GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Process Info
CPU % Mem MB PID Process
22 98 25900 code main
6 66 25902 gpu-process
0 180 25905 window (_combat.py — scanpy)
0 115 25952 extensionHost
0 33 25976 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=25952
0 66 26002 electron_node server.js
0 49 26070 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python completion.py
0 16 26074 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python lib/python/jedi/evaluate/compiled/subprocess/__main__.py lib/python
0 49 26578 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/htmlServerMain --node-ipc --clientProcessId=25952
0 33 25953 watcherService
10 98 25958 shared-process
0 0 29730 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
0 246 27951 window (test_deprecations.py — anndata)
0 360 27952 extensionHost
0 229 27961 electron_node server.js
98 393 28027 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python completion.py
3 82 28032 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python lib/python/jedi/evaluate/compiled/subprocess/__main__.py lib/python
0 66 28325 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/htmlServerMain --node-ipc --clientProcessId=27952
0 33 27953 watcherService
0 33 27955 searchService
2 66 29632 window (Process Explorer)
5 82 29709 window (Issue Reporter)
Workspace Info
| Window (test_deprecations.py — anndata)
| Window (_combat.py — scanpy)
| Folder (anndata): 961 files
| File types: txt(110) rst(105) html(105) doctree(102) pyc(76) py(37)
| 0(23) ipynb(22) 1(20) h5ad(18)
| Conf files: settings.json(1) makefile(1)
| Folder (scanpy): 2532 files
| File types: txt(975) pyc(246) html(235) rst(234) doctree(232) png(215)
| py(118) nbc(55) nbi(32) ipynb(28)
| Conf files: launch.json(1) settings.json(1) makefile(1)
| Launch Configs: python(6);