Closed AnthonyMastrean closed 10 months ago
We haven't seen this to be a general issue of late so it'd be helpful to get some more information. Does the issue reproduce when other extensions are disabled? Was the session being hosted from VS Code Desktop or Web (vscode.dev)? Also, how large is the .NET project that you're attempting to use Live Share with?
I haven't been working in Live Share recently. And one of our folks fixed a CSPROJ bug that was hammering the C# extension with rebuilds (we had a nanosecond resolution timestamp going into the assembly info on every build). I'll reopen if I can reproduce next time.
Type: Performance Issue
Just try to use VS Code to edit .NET code while hosting or joining a Live Share. The performance is terrible, approaching unusable. The .NET Language Server goes to lunch, the compile and debug processes crawl. My whole team experiences this across different kinds of machines and repositories.
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z) OS version: Windows_NT x64 10.0.22631 Modes:
System Info
|Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3302)| |GPU Status|2d_canvas: enabledcanvas_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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.84GB (4.12GB free)| |Process Argv|--crash-reporter-id 233a6889-9390-4795-be7b-0c4fa9146ed1| |Screen Reader|no| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 0 142 9460 code main 0 95 3276 shared-process 0 98 27112 electron-nodejs ("C:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork" ms-dotnettools.coreclr "{\"common.vscodemachineid\":\"609e7e6fa58fac4ce5a59d89b507cd48bed1acc5dfda4cfa4db56d90afcc75d6\",\"common.vscodesessionid\":\"d6a456f5-eaff-4da6-b341-7060baea94df1695650585140\"}" AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217) 0 25 3904 crashpad-handler 0 40 5232 utility-network-service 0 99 6040 ptyHost 0 109 15232 C:\Users\Anthony\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe -Command dotnet build /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary 2 180 32560 "C:\Program Files\dotnet\dotnet.exe" build /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary 0 118 19420 C:\Users\Anthony\AppData\Local\Microsoft\WindowsApps\Microsoft.PowerShell_8wekyb3d8bbwe\pwsh.exe -noexit -command "try { . \"c:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 7 26244 conpty-agent 0 8 30616 conpty-agent 0 92 9696 fileWatcher [1] 2 307 9884 gpu-process 1 323 12548 extensionHost [1] 0 2 2336 "C:\Program Files\Git\cmd\git.exe" cat-file -s e2735f1cca07ea94708849d42da62182311ab0aa 0 4 2992 electron-nodejs (config.js ) 0 7 5392 C:\WINDOWS\system32\conhost.exe 0x4 0 110 8412 electron-nodejs (config.js ) 0 65 25648 "c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csdevkit-0.4.10-win32-x64\components\vs-green-server\platforms\win32-x64\node_modules\@microsoft\servicehub-controller-net60.win32-x64/Microsoft.ServiceHub.Controller" "6ea0bc849b3b7a4f772b64da322df2e9afaa579dccd81a7cc3b21e89bc31cffb" "/TelemetrySession:{"""TelemetryLevel""":"""all""","""IsOptedIn""":false,"""HostName""":"""Default""","""AppInsightsInstrumentationKey""":null,"""AsimovInstrumentationKey""":null,"""CollectorApiKey""":"""0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255""","""AppId""":1010,"""UserId""":"""4c0878fb-dcb5-4ecf-baa7-db380a6135c2""","""Id""":"""5d61a812-76d9-47ff-bdf0-aaed4d8ba9da1695752334849""","""ProcessStartTime""":133402259484871396,"""SkuName""":null,"""VSExeVersion""":null,"""BucketFiltersToEnableWatsonForFaults""":[],"""BucketFiltersToAddDumpsToFaults""":[]}" 0 445 12900 "c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csdevkit-0.4.10-win32-x64\components\vs-green-server\platforms\win32-x64\node_modules\@microsoft\visualstudio-code-servicehost.win32-x64/Microsoft.VisualStudio.Code.ServiceHost.exe" "dotnet$C94B8CFE-E3FD-4BAF-A941-2866DBB566FE" "net.pipe://256482DEF1BC2FFE319E5ACE465879AE67D38" "/TelemetrySession:{"""TelemetryLevel""":"""all""","""IsOptedIn""":false,"""HostName""":"""Default""","""AppInsightsInstrumentationKey""":null,"""AsimovInstrumentationKey""":null,"""CollectorApiKey""":"""0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255""","""AppId""":1010,"""UserId""":"""4c0878fb-dcb5-4ecf-baa7-db380a6135c2""","""Id""":"""5d61a812-76d9-47ff-bdf0-aaed4d8ba9da1695752334849""","""ProcessStartTime""":133402259484871396,"""SkuName""":null,"""VSExeVersion""":null,"""BucketFiltersToEnableWatsonForFaults""":[],"""BucketFiltersToAddDumpsToFaults""":[]}" 0 77 12792 "C:\Program Files\dotnet\dotnet.exe" "c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csdevkit-0.4.10-win32-x64\components\CPS\platforms\win32-x64\node_modules\@microsoft\visualstudio-projectsystem-buildhost.win32-x64/Microsoft.VisualStudio.ProjectSystem.Server.BuildHost.dll" 0 125 16732 "C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\7.0.308\MSBuild.dll" /nologo /nodemode:1 /nodeReuse:true /low:false 0 12 3228 C:\WINDOWS\system32\conhost.exe 0x4 0 125 19156 "C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\7.0.308\MSBuild.dll" /nologo /nodemode:1 /nodeReuse:true /low:false 0 12 31004 C:\WINDOWS\system32\conhost.exe 0x4 0 118 21888 "C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\7.0.308\MSBuild.dll" /nologo /nodemode:1 /nodeReuse:true /low:false 0 12 31216 C:\WINDOWS\system32\conhost.exe 0x4 0 7 25476 C:\WINDOWS\system32\conhost.exe 0x4 0 109 33668 "C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\7.0.308\MSBuild.dll" /nologo /nodemode:1 /nodeReuse:true /low:false 0 12 30996 C:\WINDOWS\system32\conhost.exe 0x4 0 61 21032 "C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\7.0.308\vstest.console.dll" /parentprocessid:12900 /port:57687 0 7 20256 C:\WINDOWS\system32\conhost.exe 0x4 0 6 30512 C:\WINDOWS\system32\conhost.exe 0x4 0 87 5044 electron-nodejs ("C:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --dns-result-order=ipv4first c:\Users\Anthony\.vscode\extensions\ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64\dist\node_modules\@vsintellicode\completions-csharp\workerEntry.js) 0 6 6780 "C:\Program Files\Git\cmd\git.exe" ls-files --stage -- D:\Users\Anthony\gitlab.com\vaeit\itpie\operations-settings\source\services\itpie-api\Ldap\Controllers\LdapSettingsController.cs 0 3 11700 git.exe ls-files --stage -- D:\Users\Anthony\gitlab.com\vaeit\itpie\operations-settings\source\services\itpie-api\Ldap\Controllers\LdapSettingsController.cs 0 12 32132 C:\WINDOWS\system32\conhost.exe 0x4 0 79 7832 electron-nodejs (vscode.js ) 0 7 19784 C:\WINDOWS\system32\conhost.exe 0x4 0 83 15264 electron-nodejs ("C:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node -e "delete process.env.ELECTRON_RUN_AS_NODE;require(process.argv[1])" c:\Users\Anthony\.vscode\extensions\ms-vsliveshare.vsliveshare-1.0.5883\speaker\out\speaker.js) 0 2 15792 "C:\Program Files\Git\cmd\git.exe" cat-file -s c2822835a969ff3a726b660c08c58db5c22ded14 0 10 21320 c:\Users\Anthony\.vscode\extensions\ms-ossdata.vscode-postgresql-0.3.0\pgsqltoolsservice\v1.4.0\Windows\pgsqltoolsservice\pgtoolsservice_main.exe --log-dir=C:\Users\Anthony\AppData\Roaming\code\pgsql C:\Users\Anthony\AppData\Roaming\code\pgsql 0 6 26732 C:\WINDOWS\system32\conhost.exe 0x4 46 419 22064 "C:\Program Files\dotnet\dotnet.exe" c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csharp-2.3.27-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.dll --logLevel Information --starredCompletionComponentPath c:\Users\Anthony\.vscode\extensions\ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64\components\starred-suggestions\node_modules\@vsintellicode\starred-suggestions-csharp --sharedDependencies c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csdevkit-0.4.10-win32-x64\components\vs-green-server\platforms\win32-x64\node_modules\@microsoft\visualstudio-server-shared.win32-x64 --extension c:\Users\Anthony\.vscode\extensions\ms-dotnettools.csdevkit-0.4.10-win32-x64\components\roslyn-visualstudio-languageservices-devkit\node_modules\@microsoft\visualstudio-languageservices-devkit\Microsoft.VisualStudio.LanguageServices.DevKit.dll --sessionId 5d61a812-76d9-47ff-bdf0-aaed4d8ba9da1695752334849 --telemetryLevel all --extensionLogDirectory c:\Users\Anthony\AppData\Roaming\Code\logs\20230925T100301\window1\exthost\ms-dotnettools.csharp 0 83 22908 electron-nodejs ("C:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Anthony\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=12548) 0 6 25524 "C:\Program Files\Git\cmd\git.exe" fetch 0 14 26564 git.exe fetch 0 10 21128 ssh -o SendEnv=GIT_PROTOCOL git@gitlab.com "git-upload-pack 'vaeit/itpie/operations.git'" 0 12 32072 C:\WINDOWS\system32\conhost.exe 0x4 0 6 30304 "C:\Program Files\Git\cmd\git.exe" ls-files --stage -- D:\Users\Anthony\gitlab.com\vaeit\itpie\operations-settings\tests\unit\common\platform\Net\Ldap\LdapOptionsTests.cs 0 12 15328 C:\WINDOWS\system32\conhost.exe 0x4 0 13 29628 git.exe ls-files --stage -- D:\Users\Anthony\gitlab.com\vaeit\itpie\operations-settings\tests\unit\common\platform\Net\Ldap\LdapOptionsTests.cs 0 3 30704 "C:\Program Files\Git\cmd\git.exe" status -z -uall 0 7 25808 C:\WINDOWS\system32\conhost.exe 0x4 3 638 18388 window [1] (LdapSettingsController.cs - operations-settings - Work - Visual Studio Code) 1 104 27472 window [3] (Issue Reporter) ```Workspace Info
``` | Window (LdapSettingsController.cs - operations-settings - Work - Visual Studio Code) | Folder (operations-settings): more than 20130 files | File types: dsc(2538) json(536) png(367) cs(316) txt(84) md(71) dll(50) | cache(40) pdb(33) sh(26) | Conf files: csproj(9) dockerfile(6) launch.json(1) settings.json(1) | tasks.json(1) sln(1) | Launch Configs: coreclr(8) node-terminal pwa-chrome; ```Extensions (12)
Extension|Author (truncated)|Version ---|---|--- gitlens|eam|14.3.0 EditorConfig|Edi|0.16.4 remotehub|Git|0.60.0 gitlab-workflow|Git|3.78.0 csdevkit|ms-|0.4.10 csharp|ms-|2.3.27 vscode-dotnet-runtime|ms-|1.8.0 vscodeintellicode-csharp|ms-|0.1.26 vscode-postgresql|ms-|0.3.0 azure-repos|ms-|0.36.0 remote-repositories|ms-|0.38.1 vsliveshare|ms-|1.0.5883A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263cf:30792227 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 2e4cg342:30602488 89544117:30613380 showlangstatbar:30737416 a2ce3375:30757347 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 copilotsettingc:30839828 synctok:30821570 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015:30845448 ```