microsoft / vscode

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

Issue #211899

Closed Amit-singh922 closed 5 months ago

Amit-singh922 commented 5 months ago

Type: Performance Issue

It's taking ages to load livehsare

VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)| |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)|7.87GB (1.33GB free)| |Process Argv|--open-url --crash-reporter-id 82ffae20-9036-4755-a447-c67f3223d01a -- vscode://ms-vsliveshare.vsliveshare/join?vslsLink=https://prod.liveshare.vsengsaas.visualstudio.com/join%253F47F881EFA97D41D2F18C8D0AD053BD56823A| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.146.1-microsoft-standard-WSL2| |CPUs|Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2903)| |Memory (System)|3.76GB (2.76GB free)| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 1 102 18948 code main 0 31 3632 crashpad-handler 0 104 6624 extensionHost [1] 0 85 18416 electron-nodejs (wslDaemon.js ) 0 14 8864 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 14 3500 C:\WINDOWS\system32\conhost.exe 0x4 0 11 18580 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 11 16392 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 11 10868 --distro-id {3855049e-07da-4e1b-bddc-a6d9be5d658d} --vm-id {7cfd3495-81ca-4bcd-9dc8-89ee83d6d4fc} --handle 904 --event 928 --parent 932 0 16 17700 C:\WINDOWS\system32\conhost.exe 0x4 0 14 9444 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 14 7032 C:\WINDOWS\system32\conhost.exe 0x4 0 11 14596 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 11 13108 C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/amit/.vscode-server/bin/b58957e67ee1e712cebf466b995adf4c5307b2bd/node -e "const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 46829 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });" 0 11 18320 --distro-id {3855049e-07da-4e1b-bddc-a6d9be5d658d} --vm-id {7cfd3495-81ca-4bcd-9dc8-89ee83d6d4fc} --handle 888 --event 920 --parent 924 0 16 10152 C:\WINDOWS\system32\conhost.exe 0x4 0 14 18632 C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" b58957e67ee1e712cebf466b995adf4c5307b2bd stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=917531957-1898973299-1322737135-3503428574 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all' 0 14 18600 C:\WINDOWS\system32\conhost.exe 0x4 0 11 18616 C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" b58957e67ee1e712cebf466b995adf4c5307b2bd stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=917531957-1898973299-1322737135-3503428574 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all' 0 11 14408 C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" b58957e67ee1e712cebf466b995adf4c5307b2bd stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=917531957-1898973299-1322737135-3503428574 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all' 0 11 3760 --distro-id {3855049e-07da-4e1b-bddc-a6d9be5d658d} --vm-id {7cfd3495-81ca-4bcd-9dc8-89ee83d6d4fc} --handle 904 --event 944 --parent 948 0 16 9816 C:\WINDOWS\system32\conhost.exe 0x4 2 110 7992 gpu-process 0 44 9948 utility-network-service 0 101 12304 shared-process 0 80 14428 fileWatcher [1] 2 161 17556 window [1] (Welcome - Visual Studio Live Share (Workspace) [WSL: Ubuntu] - Visual Studio Code) 1 97 18128 window [2] (Issue Reporter) Remote: WSL: Ubuntu CPU % Mem MB PID Process 0 0 128394 remote agent 1 0 128624 extension-host 0 0 129539 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 129540 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```
Workspace Info ``` | Remote: WSL: Ubuntu; ```
Extensions (6) Extension|Author (truncated)|Version ---|---|--- Handlebars|and|0.4.1 remote-wsl|ms-|0.88.2 vscode-icons|vsc|12.7.0 gitlens|eam|14.9.1 prettier-vscode|esb|10.4.0 vsliveshare|ms-|1.0.5918
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 ccp2r3:30993541 dsvsc020:30976470 pythonait:31006305 jchc7451:30973076 dsvsc021:30996838 01bff139:31013167 pythoncenvpt:31022790 dwnewjupytercf:31035177 ```
DonJayamanne commented 5 months ago

Thank you for filing this issue and sorry you are running into this issue. Please can you disable all extensions and verify you still run into this issue?

vscodenpa commented 5 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!