vscode: slow startup time since latest update 1.55.2
note I have also disabled AV completely, it is not caused by that! What I notice is that the following are very slow:
window.loadUrl() => begin to require(workbench.desktop.main.js)
System Info
- Code: 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d)
- OS: win32(10.0.21354)
- CPUs: AMD Ryzen 9 3900XT 12-Core Processor (24 x 4300)
- Memory(System): 31.92 GB(22.75GB free)
- Memory(Process): 208.80 MB working set(157.36MB private, 0.19MB shared)
- VM(likelihood): 0%
- Initial Startup: true
- Has 0 other windows
- Screen Reader Active: false
- Empty Workspace: true
Performance Marks
What | Duration | Process | Info |
---|---|---|---|
start => app.isReady | 60 | [main] | initial startup: true |
nls:start => nls:end | 0 | [main] | initial startup: true |
require(main.bundle.js) | 94 | [main] | initial startup: true |
app.isReady => window.loadUrl() | 172 | [main] | initial startup: true |
window.loadUrl() => begin to require(workbench.desktop.main.js) | 4763 | [main->renderer] | NewWindow |
require(workbench.desktop.main.js) | 573 | [renderer] | cached data: NO, node_modules took 0ms |
wait for shell environment | 0 | [renderer] | - |
init storage (global & workspace) | 101 | [renderer] | - |
init workspace service | 35 | [renderer] | - |
register extensions & spawn extension host | 258 | [renderer] | - |
restore viewlet | 0 | [renderer] | - |
restore panel | 0 | [renderer] | - |
restore editors | 26 | [renderer] | 1: workbench.editors.welcomePageInput |
overall workbench load | 248 | [renderer] | - |
workbench ready | 5924 | [main->renderer] | - |
renderer ready | 933 | [renderer] | - |
shared process connection ready | 0 | [renderer->sharedprocess] | - |
extensions registered | 6229 | [renderer] | - |
Extension Activation Stats
Extension | Eager | Load Code | Call Activate | Finish Activate | Event | By |
---|---|---|---|---|---|---|
vscode.debug-auto-launch | true | 3 | 0 | 103 | * | vscode.debug-auto-launch |
vscode.git | true | 59 | 2 | 141 | * | vscode.github |
GitHub.vscode-pull-request-github | true | 81 | 1 | 100 | * | GitHub.vscode-pull-request-github |
ms-vscode.cpptools | true | 131 | 0 | 229 | * | platformio.platformio-ide |
PKief.material-icon-theme | true | 17 | 0 | 133 | * | PKief.material-icon-theme |
platformio.platformio-ide | true | 324 | 0 | 0 | * | platformio.platformio-ide |
standard.vscode-standard | true | 150 | 0 | 176 | * | standard.vscode-standard |
WakaTime.vscode-wakatime | true | 75 | 0 | 100 | * | WakaTime.vscode-wakatime |
WallabyJs.quokka-vscode | true | 1 | 99 | 1 | * | WallabyJs.quokka-vscode |
Wattenberger.footsteps | true | 2 | 0 | 1 | * | Wattenberger.footsteps |
wayou.vscode-todo-highlight | true | 2 | 1 | 0 | * | wayou.vscode-todo-highlight |
yatki.vscode-surround | true | 2 | 0 | 0 | * | yatki.vscode-surround |
vscode.configuration-editing | false | 4 | 0 | 4 | onLanguage:jsonc | vscode.configuration-editing |
vscode.emmet | false | 23 | 2 | 5 | onStartupFinished | vscode.emmet |
vscode.github | false | 10 | 0 | 0 | * | vscode.github |
vscode.github-authentication | false | 24 | 0 | 46 | onAuthenticationRequest:github | vscode.github-authentication |
vscode.json-language-features | false | 37 | 3 | 7 | onLanguage:jsonc | vscode.json-language-features |
vscode.merge-conflict | false | 4 | 0 | 5 | onStartupFinished | vscode.merge-conflict |
vscode.microsoft-authentication | false | 26 | 1 | 229 | onAuthenticationRequest:microsoft | vscode.microsoft-authentication |
ms-vscode-remote.remote-wsl-recommender | false | 19 | 1 | 4 | onStartupFinished | ms-vscode-remote.remote-wsl-recommender |
ms-vscode.js-debug | false | 195 | 6 | 0 | onCommand:extension.js-debug.clearAutoAttachVariables | ms-vscode.js-debug |
vscode.testing-editor-contributions | false | 1 | 0 | 4 | onStartupFinished | vscode.testing-editor-contributions |
vscode.typescript-language-features | false | 32 | 1 | 6 | onLanguage:jsonc | vscode.typescript-language-features |
DominicVonk.parameter-hints | false | 247 | 0 | 4 | onStartupFinished | DominicVonk.parameter-hints |
eamodio.gitlens | false | 218 | 1 | 3015 | onStartupFinished | eamodio.gitlens |
formulahendry.code-runner | false | 28 | 2 | 3 | onStartupFinished | formulahendry.code-runner |
usernamehw.errorlens | false | 3 | 0 | 3 | onStartupFinished | usernamehw.errorlens |
voorjaar.windicss-intellisense | false | 59 | 1 | 2995 | onStartupFinished | voorjaar.windicss-intellisense |
Raw Perf Marks: main
Name Timestamp Delta Total
code/timeOrigin 1618479964685 0 0
code/didStartMain 1618479965269 584 584
code/mainAppReady 1618479965329 60 644
code/willLoadMainBundle 1618479965329 0 644
code/fork/willLoadCode 1618479965342 13 657
code/registerFilesystem/file 1618479965420 78 735
code/didLoadMainBundle 1618479965423 3 738
code/willOpenNewWindow 1618479965501 78 816
Raw Perf Marks: renderer
Name Timestamp Delta Total
code/timeOrigin 1618479965503 0 0
code/didStartRenderer 1618479970260 4757 4757
code/willShowPartsSplash 1618479970260 0 4757
code/didShowPartsSplash 1618479970261 1 4758
code/willLoadWorkbenchMain 1618479970264 3 4761
code/willWaitForShellEnv 1618479970837 573 5334
code/didWaitForShellEnv 1618479970837 0 5334
code/didLoadWorkbenchMain 1618479970837 0 5334
code/registerFilesystem/file 1618479970840 3 5337
code/registerFilesystem/vscode-userdata 1618479970841 1 5338
code/willInitWorkspaceService 1618479970844 3 5341
code/willInitStorage 1618479970844 0 5341
code/didInitWorkspaceService 1618479970879 35 5376
code/didInitStorage 1618479970945 66 5442
code/willStartWorkbench 1618479970945 0 5442
code/LifecyclePhase/Ready 1618479970948 3 5445
code/registerFilesystem/trustedDomains 1618479971031 83 5528
code/willRestoreEditors 1618479971166 135 5663
code/didRestoreEditors 1618479971192 26 5689
code/LifecyclePhase/Restored 1618479971192 0 5689
code/didStartWorkbench 1618479971193 1 5690
code/didRemovePartsSplash 1618479971193 0 5690
code/willConnectSharedProcess 1618479971211 18 5708
code/willLoadExtensions 1618479971240 29 5737
code/willHandleExtensionPoints 1618479971311 71 5808
code/didHandleExtensionPoints 1618479971490 179 5987
code/didLoadExtensions 1618479971498 8 5995
Raw Perf Marks: localExtHost
Name Timestamp Delta Total
code/timeOrigin 1618479972278 0 0
code/fork/start 1618479972642 364 364
code/fork/willLoadCode 1618479972664 22 386
code/extHost/willConnectToRenderer 1618479972884 220 606
code/extHost/didConnectToRenderer 1618479972884 0 606
code/extHost/didWaitForInitData 1618479972934 50 656
code/extHost/didCreateServices 1618479972940 6 662
code/extHost/willWaitForConfig 1618479972945 5 667
code/extHost/didWaitForConfig 1618479972972 27 694
code/extHost/didInitAPI 1618479972977 5 699
code/extHost/didInitProxyResolver 1618479972978 1 700
code/extHost/ready 1618479972978 0 700
code/extHost/willLoadExtensionCode/vscode.microsoft-authentication 1618479972984 6 706
code/extHost/didLoadExtensionCode/vscode.microsoft-authentication 1618479973010 26 732
code/extHost/willLoadExtensionCode/vscode.debug-auto-launch 1618479973010 0 732
code/extHost/didLoadExtensionCode/vscode.debug-auto-launch 1618479973013 3 735
code/extHost/willLoadExtensionCode/vscode.git 1618479973013 0 735
code/extHost/didLoadExtensionCode/vscode.git 1618479973072 59 794
code/extHost/willLoadExtensionCode/GitHub.vscode-pull-request-github 1618479973073 1 795
code/extHost/didLoadExtensionCode/GitHub.vscode-pull-request-github 1618479973154 81 876
code/extHost/willLoadExtensionCode/PKief.material-icon-theme 1618479973155 1 877
code/extHost/didLoadExtensionCode/PKief.material-icon-theme 1618479973172 17 894
code/extHost/willLoadExtensionCode/ms-vscode.cpptools 1618479973172 0 894
code/extHost/didLoadExtensionCode/ms-vscode.cpptools 1618479973303 131 1025
code/extHost/willLoadExtensionCode/standard.vscode-standard 1618479973303 0 1025
code/extHost/didLoadExtensionCode/standard.vscode-standard 1618479973453 150 1175
code/extHost/willLoadExtensionCode/WakaTime.vscode-wakatime 1618479973453 0 1175
code/extHost/didLoadExtensionCode/WakaTime.vscode-wakatime 1618479973528 75 1250
code/extHost/willLoadExtensionCode/WallabyJs.quokka-vscode 1618479973528 0 1250
code/extHost/didLoadExtensionCode/WallabyJs.quokka-vscode 1618479973529 1 1251
code/extHost/willLoadExtensionCode/Wattenberger.footsteps 1618479973530 1 1252
code/extHost/didLoadExtensionCode/Wattenberger.footsteps 1618479973531 1 1253
code/extHost/willLoadExtensionCode/wayou.vscode-todo-highlight 1618479973532 1 1254
code/extHost/didLoadExtensionCode/wayou.vscode-todo-highlight 1618479973534 2 1256
code/extHost/willLoadExtensionCode/yatki.vscode-surround 1618479973534 0 1256
code/extHost/didLoadExtensionCode/yatki.vscode-surround 1618479973536 2 1258
code/extHost/willActivateExtension/vscode.microsoft-authentication 1618479973540 4 1262
code/extHost/willActivateExtension/vscode.debug-auto-launch 1618479973541 1 1263
code/extHost/willActivateExtension/vscode.git 1618479973541 0 1263
code/extHost/willActivateExtension/GitHub.vscode-pull-request-github 1618479973543 2 1265
code/extHost/willActivateExtension/PKief.material-icon-theme 1618479973544 1 1266
code/extHost/willActivateExtension/ms-vscode.cpptools 1618479973544 0 1266
code/extHost/willActivateExtension/standard.vscode-standard 1618479973544 0 1266
code/extHost/willActivateExtension/WakaTime.vscode-wakatime 1618479973544 0 1266
code/extHost/willActivateExtension/WallabyJs.quokka-vscode 1618479973544 0 1266
code/extHost/willActivateExtension/Wattenberger.footsteps 1618479973643 99 1365
code/extHost/willActivateExtension/wayou.vscode-todo-highlight 1618479973643 0 1365
code/extHost/willActivateExtension/yatki.vscode-surround 1618479973644 1 1366
code/extHost/didActivateExtension/vscode.debug-auto-launch 1618479973664 20 1386
code/extHost/didActivateExtension/GitHub.vscode-pull-request-github 1618479973664 0 1386
code/extHost/didActivateExtension/WakaTime.vscode-wakatime 1618479973664 0 1386
code/extHost/didActivateExtension/WallabyJs.quokka-vscode 1618479973665 1 1387
code/extHost/didActivateExtension/Wattenberger.footsteps 1618479973665 0 1387
code/extHost/didActivateExtension/wayou.vscode-todo-highlight 1618479973665 0 1387
code/extHost/didActivateExtension/yatki.vscode-surround 1618479973665 0 1387
code/extHost/didActivateExtension/PKief.material-icon-theme 1618479973677 12 1399
code/extHost/didActivateExtension/vscode.git 1618479973684 7 1406
code/extHost/didActivateExtension/standard.vscode-standard 1618479973720 36 1442
code/extHost/willLoadExtensionCode/vscode.github-authentication 1618479973746 26 1468
code/extHost/didLoadExtensionCode/vscode.github-authentication 1618479973770 24 1492
code/extHost/didActivateExtension/vscode.microsoft-authentication 1618479973770 0 1492
code/extHost/didActivateExtension/ms-vscode.cpptools 1618479973773 3 1495
code/extHost/willLoadExtensionCode/ms-vscode.js-debug 1618479973783 10 1505
code/extHost/didLoadExtensionCode/ms-vscode.js-debug 1618479973978 195 1700
code/extHost/willLoadExtensionCode/vscode.github 1618479973979 1 1701
code/extHost/didLoadExtensionCode/vscode.github 1618479973989 10 1711
code/extHost/willLoadExtensionCode/platformio.platformio-ide 1618479973989 0 1711
code/extHost/didLoadExtensionCode/platformio.platformio-ide 1618479974313 324 2035
code/extHost/willActivateExtension/vscode.github-authentication 1618479974313 0 2035
code/extHost/willActivateExtension/ms-vscode.js-debug 1618479974316 3 2038
code/extHost/willActivateExtension/vscode.github 1618479974322 6 2044
code/extHost/willActivateExtension/platformio.platformio-ide 1618479974322 0 2044
code/extHost/didActivateExtension/ms-vscode.js-debug 1618479974322 0 2044
code/extHost/didActivateExtension/vscode.github 1618479974322 0 2044
code/extHost/didActivateExtension/platformio.platformio-ide 1618479974322 0 2044
Node Cached Data Stats
cached data used
cached data missed
cached data rejected
cached data created (lazy, might need refreshes)
prof-fcc4.extHost.cpuprofile.txt prof-fcc4.main.cpuprofile.txt prof-fcc4.renderer.cpuprofile.txt
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 41 (16 by maintainers)
OK looks like Electron 12 makes this considerably better for you. We plan to ship E12 to insiders in May.
@deepak1556 @kieferrm actually thanks for helping me so much, and taking it on the iteration plan 😃
for me it just seems to be fixed with the latest Windows Insider Build 21376 (according to their Feedback it was caused by an issue that impacted File Explorer performance for WSL users)
I am going to close this issue, since I do not have this issue wie Build 21376 and VS Code… either you could reopen, if you think people not on insider dev channel have same issue as me, or i will reopen if I experience any slow behavior coming back.
reference of the microsoft windows 10 feedback hub: https://aka.ms/AAcgpty