microsoft / vscode

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

Retrieval from org is taking lot of time #224323

Closed Rahul-Agarwal-driscolls closed 3 months ago

Rahul-Agarwal-driscolls commented 3 months ago

Type: Performance Issue

click on ony file and then click on Retrieve from org.

VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)| |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)|15.67GB (2.98GB free)| |Process Argv|--crash-reporter-id 22d2ca2d-377d-4494-9024-9f1a08a7651f| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 207 17304 code main 0 429 8340 extensionHost [1] 0 120 2564 electron-nodejs (server.js ) 0 304 4828 C:\jdk-17_windows-x64_bin\jdk-17.0.3\bin\java -cp c:\Users\rahul.agarwal\.vscode\extensions\salesforce.salesforcedx-vscode-apex-61.6.0\dist\apex-jorje-lsp.jar -Ddebug.internal.errors=true -Ddebug.semantic.errors=false -Ddebug.completion.statistics=false -Dlwc.typegeneration.disabled=true apex.jorje.lsp.ApexLanguageServerLauncher 0 11 27604 C:\WINDOWS\system32\conhost.exe 0x4 0 63 7856 C:\zulu15.29.15-ca-jdk15.0.2-win_x64\bin\java -DwatchParentProcess=false -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\rahul.agarwal\AppData\Roaming\Code\User\globalStorage\redhat.vscode-xml -Xmx64M -cp c:\Users\rahul.agarwal\.vscode\extensions\redhat.vscode-xml-0.27.1-win32-x64\server\org.eclipse.lemminx-0.28.0-uber.jar org.eclipse.lemminx.XMLServerLauncher 0 11 22904 C:\WINDOWS\system32\conhost.exe 0x4 0 114 30092 electron-nodejs (server.js ) 0 102 37172 electron-nodejs (visualforceServer.js ) 0 95 37676 electron-nodejs (server.js ) 0 94 17092 fileWatcher [1] 0 94 17528 ptyHost 0 72 19760 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\rahul.agarwal\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 7 30668 conpty-agent 0 28 28384 crashpad-handler 0 43 30872 utility-network-service 0 247 35512 window [1] (CLM_ClaimProductServiceCtrl.cls - Salesforce - Visual Studio Code) 1 172 37080 gpu-process 0 116 38076 shared-process 1 103 38300 window [3] (Issue Reporter) ```
Workspace Info ``` | Window (CLM_ClaimProductServiceCtrl.cls - Salesforce - Visual Studio Code) | Folder (Salesforce): 6429 files | File types: cls(4133) xml(1616) ts(70) json(51) js(49) html(39) css(26) | log(24) asset(23) email(11) | Conf files: launch.json(1) settings.json(1) jsconfig.json(1) | package.json(1) | Launch Configs: apex-replay; ```
Extensions (19) Extension|Author (truncated)|Version ---|---|--- apex-pmd|chu|0.7.0 vscode-eslint|dba|3.0.10 gitlens|eam|15.2.3 prettier-vscode|esb|10.4.0 lana|Fin|1.16.0 js-debug-nightly|ms-|2024.7.2417 vscode-xml|red|0.27.1 salesforce-vscode-slds|sal|1.4.10 salesforcedx-einstein-gpt|sal|0.54.0 salesforcedx-vscode|sal|61.6.0 salesforcedx-vscode-apex|sal|61.6.0 salesforcedx-vscode-apex-debugger|sal|61.6.0 salesforcedx-vscode-apex-replay-debugger|sal|61.6.0 salesforcedx-vscode-core|sal|61.6.0 salesforcedx-vscode-expanded|sal|61.6.0 salesforcedx-vscode-lightning|sal|61.6.0 salesforcedx-vscode-lwc|sal|61.6.0 salesforcedx-vscode-soql|sal|61.6.0 salesforcedx-vscode-visualforce|sal|61.6.0
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 bdiig495:31013172 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 impr_priority:31102340 refactort:31101459 ccplt:31103426 pythonrstrctxtcf:31103194 wkspc-ranged-c:31106315 ```
lramos15 commented 3 months ago

This sounds like an extension. I'm not sure what retrieve from org is.

Rahul-Agarwal-driscolls commented 3 months ago

SFDX:Retrieve this source from ORG

gjsjohnmurray commented 3 months ago

/causedByExtension please report this to the SFDX authors.

vscodenpa commented 3 months ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!