Skip to content

Terminal lagging and working slow #225512

Closed as not planned
Closed as not planned
@kunalsachdev06

Description

@kunalsachdev06
VS.Code.Issue.with.Terminal.mp4

Type: Performance Issue

The terminal lags when running code. It takes about 30 seconds to write the file path and then another 5-10 seconds to execute the code and give output.

VS Code version: Code 1.92.1 (eaa41d5, 2024-08-07T20:16:39.455Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 9 185H (22 x 3072)
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
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.61GB (18.65GB free)
Process Argv --crash-reporter-id f0da0d4c-c383-494d-8888-cd803207ba6b
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   107	 21780	code main
    0	   116	  3244	shared-process
    1	    98	  3516	window [2] (Issue Reporter)
    0	   247	  5708	   GPU-process
    0	    89	  6968	file watcher [1]
    0	    27	  9468	   crashpad-handler
    0	    51	 17496	   utility-network-service
    0	   105	 18460	ptyHost
    0	     7	  2900	     county-agent
    0	    66	  8840	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -no exit -command "try { . \"c:\Users\KUNAL\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     7	 17312	     county-agent
    0	    67	 21712	     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -no exit -command "try { . \"c:\Users\KUNAL\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	   184	 19488	window [1] (main.py - VS Code - Visual Studio Code)
    0	   141	 20360	extensionHost [1]
    0	    57	  3348	     C:\Users\KUNAL\AppData\Local\Programs\Python\Python312\python.exe c:\Users\KUNAL\.vscode\extensions\ms-python.python-2024.12.2-win32-x64\python_files\run-Jedi-language-server.py
    0	    29	 17788	       C:\Users\KUNAL\AppData\Local\Programs\Python\Python312\python.exe c:\Users\KUNAL\.vscode\extensions\ms-python.python-2024.12.2-win32-x64\python_files\lib\jedilsp\jedi\inference\compiled\subprocess\__main__.py c:\Users\KUNAL\.vscode\extensions\ms-python.python-2024.12.2-win32-x64\python_files\lib\jedilsp 3.12.4
    0	    11	  1764	         C:\Windows\system32\conhost.exe 0x4
    0	    11	 23476	       C:\Windows\system32\conhost.exe 0x4
    0	     6	 14468	     c:\Users\KUNAL\.vscode\extensions\ms-python.python-2024.12.2-win32-x64\python-env-tools\bin\pet.exe server
    0	    11	 17796	       C:\Windows\system32\conhost.exe 0x4
    0	    83	 21560	     "C:\Users\KUNAL\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\KUNAL\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-IPC --clientProcessId=20360
Workspace Info
|  Window (main.py - VS Code - Visual Studio Code)
|    Folder (VS Code): 29 files
|      File types: py(27)
|      Conf files:
Extensions (2)
Extension Author (truncated) Version
debugpy ms- 2024.10.0
python ms- 2024.12.2
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31111718
wkspc-ranged-c:31111712

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions