Skip to content

Slow start up and file operation in WSL #245802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KoutaTakeshi opened this issue Apr 6, 2025 · 9 comments
Closed

Slow start up and file operation in WSL #245802

KoutaTakeshi opened this issue Apr 6, 2025 · 9 comments
Assignees

Comments

@KoutaTakeshi
Copy link

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.98.2
  • OS Version: 5.15.167.4-microsoft-standard-WSL2+Ubuntu 18.04

Description
When opening VSCode connected to WSL, the Explorer view takes an extremely long time (approximately one minute) to fully initialize. File search operations are also significantly delayed.

problem.mp4

Steps to Reproduce:

  1. Open VSCode and connect to WSL using the WSL extension
  2. Observe the extremely slow initialization of the Explorer view, file searching also slow

The startup performance log as follows, full content has been attached in startup performance.md, is there any other information should I provide?

startup performance.md

## System Info

* Code: 1.98.2 (ddc367ed5c8936efe395cffeec279b04ffd7db78)
* OS: win32(10.0.22631)
* CPUs: AMD Ryzen 7 8845H w/ Radeon 780M Graphics(16 x 3793)
* Memory(System): 27.81 GB(10.70GB free)
* Memory(Process): 349.77 MB working set(310.44MB private, 1.74MB shared)
* VM(likelihood): 67%
* Initial Startup: false
* Has 0 other windows
* Screen Reader Active: false
* Empty Workspace: false

## Performance Marks

| What                                                           | Duration | Process                   | Info                     |
| -------------------------------------------------------------- | -------- | ------------------------- | ------------------------ |
| start => app.isReady                                           | -        | [main]                    | initial startup: false   |
| nls:start => nls:end                                           | -        | [main]                    | initial startup: false   |
| import(main.js)                                                | -        | [main]                    | initial startup: false   |
| run main.js                                                    | -        | [main]                    | initial startup: false   |
| start crash reporter                                           | -        | [main]                    | initial startup: false   |
| serve main IPC handle                                          | -        | [main]                    | initial startup: false   |
| create window                                                  | -        | [main]                    | initial startup: false,  |
| app.isReady => window.loadUrl()                                | -        | [main]                    | initial startup: false   |
| window.loadUrl() => begin to import(workbench.desktop.main.js) | 45       | [main->renderer]          | ReopenedWindow           |
| import(workbench.desktop.main.js)                              | 162      | [renderer]                | cached data: YES         |
| wait for window config                                         | 5        | [renderer]                | -                        |
| init storage (global & workspace)                              | 9        | [renderer]                | -                        |
| init workspace service                                         | 21       | [renderer]                | -                        |
| register extensions & spawn extension host                     | 11089    | [renderer]                | -                        |
| restore viewlet                                                | 23       | [renderer]                | workbench.view.explorer  |
| restore panel                                                  | 17       | [renderer]                | terminal                 |
| restore & resolve visible editors                              | 52       | [renderer]                | 1: PerfviewInput         |
| create workbench contributions                                 | 18       | [renderer]                | 72 blocking startup      |
| overall workbench load                                         | 162      | [renderer]                | -                        |
| workbench ready                                                | 395      | [main->renderer]          | -                        |
| renderer ready                                                 | 356      | [renderer]                | -                        |
| shared process connection ready                                | 128      | [renderer->sharedprocess] | -                        |
| extensions registered                                          | 11557    | [renderer]                | -                        |

## Extension Activation Stats

| Extension                          | Eager | Load Code | Call Activate | Finish Activate | Event                             | By                                 |
| ---------------------------------- | ----- | --------- | ------------- | --------------- | --------------------------------- | ---------------------------------- |
| vscode.git                         | true  | 72        | 8             | 47              | *                                 | vscode.git                         |
| vscode.git-base                    | true  | 6         | 0             | 0               | *                                 | vscode.git                         |
| vscode.github                      | true  | 94        | 1             | 6               | *                                 | vscode.github                      |
| vscode.debug-auto-launch           | false | 4         | 0             | 367             | onStartupFinished                 | vscode.debug-auto-launch           |
| vscode.emmet                       | false | 23        | 12            | 8               | onLanguage                        | vscode.emmet                       |
| vscode.extension-editing           | false | 36        | 1             | 7               | onLanguage:markdown               | vscode.extension-editing           |
| vscode.github-authentication       | false | 15        | 3             | 2               | onAuthenticationRequest:github    | vscode.github-authentication       |
| vscode.markdown-language-features  | false | 128       | 7             | 199             | onLanguage:markdown               | vscode.markdown-language-features  |
| vscode.markdown-math               | false | 12        | 0             | 0               | api                               | vscode.markdown-language-features  |
| vscode.merge-conflict              | false | 21        | 2             | 368             | onStartupFinished                 | vscode.merge-conflict              |
| vscode.microsoft-authentication    | false | 38        | 2             | 15189           | onAuthenticationRequest:microsoft | vscode.microsoft-authentication    |
| alefragnani.project-manager        | false | 15        | 3             | 3               | onStartupFinished                 | alefragnani.project-manager        |
| GitHub.copilot                     | false | 483       | 31            | 381             | onStartupFinished                 | GitHub.copilot                     |
| GitHub.copilot-chat                | false | 1094      | 334           | 5584            | onStartupFinished                 | GitHub.copilot-chat                |
| ms-vscode-remote.remote-containers | false | 154       | 1             | 33              | onStartupFinished                 | ms-vscode-remote.remote-containers |
| ms-vscode-remote.remote-wsl        | false | 90        | 9             | 14              | onResolveRemoteAuthority:wsl      | ms-vscode-remote.remote-wsl        |
| vscodevim.vim                      | false | 108       | 1             | 62              | onStartupFinished                 | vscodevim.vim                      |

## Terminal Stats

| Name                                     | Timestamp     | Delta | Total |
| ---------------------------------------- | ------------- | ----- | ----- |
| code/terminal/willGetTerminalBackend     | 1743944590572 | 0     | 0     |
| code/terminal/didGetTerminalBackend      | 1743944591014 | 442   | 442   |
| code/terminal/willReconnect              | 1743944591014 | 0     | 442   |
| code/terminal/willGetTerminalLayoutInfo  | 1743944591014 | 0     | 442   |
| code/terminal/didGetTerminalLayoutInfo   | 1743944592191 | 1177  | 1619  |
| code/terminal/willRecreateTerminalGroups | 1743944592191 | 0     | 1619  |
| code/terminal/didRecreateTerminalGroups  | 1743944592191 | 0     | 1619  |
| code/terminal/didReconnect               | 1743944592191 | 0     | 1619  |
| code/terminal/willReplay                 | 1743944592191 | 0     | 1619  |
| code/terminal/didReplay                  | 1743944592191 | 0     | 1619  |
| code/terminal/willGetPerformanceMarks    | 1743944592191 | 0     | 1619  |

## Workbench Contributions Blocking Restore

* Total (LifecyclePhase.Starting): 36 (8ms)
* Total (LifecyclePhase.Ready): 46 (10ms)

| Name                                                                                                | Timestamp     | Delta | Total |
| --------------------------------------------------------------------------------------------------- | ------------- | ----- | ----- |
| code/willCreateWorkbenchContribution/1/workbench.contrib.navigableContainerManager                  | 1743944590476 | 0     | 0     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.navigableContainerManager                   | 1743944590476 | 0     | 0     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.extensionPoints                            | 1743944590476 | 0     | 0     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.extensionPoints                             | 1743944590476 | 0     | 0     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.viewsExtensionHandler                      | 1743944590476 | 0     | 0     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.viewsExtensionHandler                       | 1743944590476 | 0     | 0     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.preferencesActions                         | 1743944590476 | 0     | 0     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.preferencesActions                          | 1743944590478 | 2     | 2     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.preferences                                | 1743944590478 | 0     | 2     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.preferences                                 | 1743944590479 | 1     | 3     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.notebook                                   | 1743944590479 | 0     | 3     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.notebook                                    | 1743944590479 | 0     | 3     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.cellContentProvider                        | 1743944590479 | 0     | 3     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.cellContentProvider                         | 1743944590479 | 0     | 3     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.cellInfoContentProvider                    | 1743944590479 | 0     | 3     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.cellInfoContentProvider                     | 1743944590480 | 1     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.notebookMetadataContentProvider            | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.notebookMetadataContentProvider             | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.registerCellSchemas                        | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.registerCellSchemas                         | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.chatResolver                               | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.chatResolver                                | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.chatExtensionPointHandler                  | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.chatExtensionPointHandler                   | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.chatViewsWelcomeHandler                    | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.chatViewsWelcomeHandler                     | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/chatEditingNotebookFileSystemProviderContribution            | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/chatEditingNotebookFileSystemProviderContribution             | 1743944590480 | 0     | 4     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.explorerViewletViews                       | 1743944590480 | 0     | 4     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.explorerViewletViews                        | 1743944590481 | 1     | 5     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.textFileEditorTracker                      | 1743944590481 | 0     | 5     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.textFileEditorTracker                       | 1743944590481 | 0     | 5     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.textFileSaveErrorHandler                   | 1743944590481 | 0     | 5     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.textFileSaveErrorHandler                    | 1743944590481 | 0     | 5     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.fileUriLabel                               | 1743944590481 | 0     | 5     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.fileUriLabel                                | 1743944590481 | 0     | 5     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.dirtyFilesIndicator                        | 1743944590481 | 0     | 5     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.dirtyFilesIndicator                         | 1743944590482 | 1     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.replacePreviewContentProvider              | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.replacePreviewContentProvider               | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.searchEditor                               | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.searchEditor                                | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.mergeEditorResolver                        | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.mergeEditorResolver                         | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.multiDiffEditorResolver                    | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.multiDiffEditorResolver                     | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.scmMultiDiffSourceResolver                 | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.scmMultiDiffSourceResolver                  | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.webviewPanel                               | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.webviewPanel                                | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.complexCustomWorkingCopyEditorHandler      | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.complexCustomWorkingCopyEditorHandler       | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/terminalMain                                                 | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/terminalMain                                                  | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.remoteLabel                                | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.remoteLabel                                 | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.remoteInvalidWorkspaceDetector             | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.remoteInvalidWorkspaceDetector              | 1743944590482 | 0     | 6     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.remoteStatusIndicator                      | 1743944590482 | 0     | 6     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.remoteStatusIndicator                       | 1743944590483 | 1     | 7     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.listContext                                | 1743944590483 | 0     | 7     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.listContext                                 | 1743944590483 | 0     | 7     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.dialogHandler                              | 1743944590483 | 0     | 7     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.dialogHandler                               | 1743944590483 | 0     | 7     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.nativeWorkingCopyBackupTracker             | 1743944590483 | 0     | 7     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.nativeWorkingCopyBackupTracker              | 1743944590483 | 0     | 7     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.localTerminalBackend                       | 1743944590483 | 0     | 7     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.localTerminalBackend                        | 1743944590483 | 0     | 7     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.userDataSyncServices                       | 1743944590483 | 0     | 7     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.userDataSyncServices                        | 1743944590484 | 1     | 8     |
| code/willCreateWorkbenchContribution/1/workbench.contrib.partsSplash                                | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/1/workbench.contrib.partsSplash                                 | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.extensionUrlBootstrapHandler               | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.extensionUrlBootstrapHandler                | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.textInputActionsProvider                   | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.textInputActionsProvider                    | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.editorAutoSave                             | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.editorAutoSave                              | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.editorStatus                               | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.editorStatus                                | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.untitledTextEditorWorkingCopyEditorHandler | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.untitledTextEditorWorkingCopyEditorHandler  | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.dynamicEditorConfigurations                | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.dynamicEditorConfigurations                 | 1743944590484 | 0     | 8     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.textMateTokenizationInstantiator           | 1743944590484 | 0     | 8     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.textMateTokenizationInstantiator            | 1743944590485 | 1     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.treeSitterTokenizationInstantiator         | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.treeSitterTokenizationInstantiator          | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebookChatContribution                   | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebookChatContribution                    | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebookClipboard                          | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebookClipboard                           | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebook.multiCursorUndoRedo               | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebook.multiCursorUndoRedo                | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.markerListProvider                         | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.markerListProvider                          | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebookUndoRedo                           | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebookUndoRedo                            | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebookEditorManager                      | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebookEditorManager                       | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.notebookLanguageSelectorScoreRefine        | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.notebookLanguageSelectorScoreRefine         | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.simpleNotebookWorkingCopyEditorHandler     | 1743944590485 | 0     | 9     |
| code/didCreateWorkbenchContribution/2/workbench.contrib.simpleNotebookWorkingCopyEditorHandler      | 1743944590485 | 0     | 9     |
| code/willCreateWorkbenchContribution/2/workbench.contrib.toolsExtensionPointHandler                 | 1743944590486 | 1     | 10    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.toolsExtensionPointHandler                  | 1743944590486 | 0     | 10    |
| code/willCreateWorkbenchContribution/2/copilot.titleBarMenuRendering                                | 1743944590486 | 0     | 10    |
| code/didCreateWorkbenchContribution/2/copilot.titleBarMenuRendering                                 | 1743944590486 | 0     | 10    |
| code/willCreateWorkbenchContribution/2/chat.codeBlockActionRendering                                | 1743944590486 | 0     | 10    |
| code/didCreateWorkbenchContribution/2/chat.codeBlockActionRendering                                 | 1743944590486 | 0     | 10    |
| code/willCreateWorkbenchContribution/2/workbench.chat.setup                                         | 1743944590486 | 0     | 10    |
| code/didCreateWorkbenchContribution/2/workbench.chat.setup                                          | 1743944590491 | 5     | 15    |
| code/willCreateWorkbenchContribution/2/chat.statusBarEntry                                          | 1743944590491 | 0     | 15    |
| code/didCreateWorkbenchContribution/2/chat.statusBarEntry                                           | 1743944590491 | 0     | 15    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.chatAgentSetting                           | 1743944590491 | 0     | 15    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.chatAgentSetting                            | 1743944590491 | 0     | 15    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.interactiveDocument                        | 1743944590491 | 0     | 15    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.interactiveDocument                         | 1743944590492 | 1     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.replWorkingCopyEditorHandler               | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.replWorkingCopyEditorHandler                | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.replDocument                               | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.replDocument                                | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.fileEditorWorkingCopyEditorHandler         | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.fileEditorWorkingCopyEditorHandler          | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.bulkEditPreview                            | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.bulkEditPreview                             | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.searchEditorWorkingCopyEditorHandler       | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.searchEditorWorkingCopyEditorHandler        | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/comments.input.contentProvider                               | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/comments.input.contentProvider                                | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.trustedDomainsFileSystemProvider           | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.trustedDomainsFileSystemProvider            | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.externalUriResolver                        | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.externalUriResolver                         | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.showPortCandidate                          | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.showPortCandidate                           | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.tunnelFactory                              | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.tunnelFactory                               | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.editorFeaturesInstantiator                 | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.editorFeaturesInstantiator                  | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.startupPageEditorResolver                  | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.startupPageEditorResolver                   | 1743944590492 | 0     | 16    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.userDataProfiles                           | 1743944590492 | 0     | 16    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.userDataProfiles                            | 1743944590493 | 1     | 17    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.localHistoryTimeline                       | 1743944590493 | 0     | 17    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.localHistoryTimeline                        | 1743944590493 | 0     | 17    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.workspaceTrustRequestHandler               | 1743944590493 | 0     | 17    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.workspaceTrustRequestHandler                | 1743944590493 | 0     | 17    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.accessibilityStatus                        | 1743944590493 | 0     | 17    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.accessibilityStatus                         | 1743944590493 | 0     | 17    |
| code/willCreateWorkbenchContribution/2/extensionAccessibilityHelpDialogContribution                 | 1743944590493 | 0     | 17    |
| code/didCreateWorkbenchContribution/2/extensionAccessibilityHelpDialogContribution                  | 1743944590493 | 0     | 17    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.updateExperimentalSettingsDefaults         | 1743944590493 | 0     | 17    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.updateExperimentalSettingsDefaults          | 1743944590494 | 1     | 18    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.nativeRemoteConnectionFailureNotification  | 1743944590494 | 0     | 18    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.nativeRemoteConnectionFailureNotification   | 1743944590494 | 0     | 18    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.remoteTelemetryEnablementUpdater           | 1743944590494 | 0     | 18    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.remoteTelemetryEnablementUpdater            | 1743944590494 | 0     | 18    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.remoteEmptyWorkbenchPresentation           | 1743944590494 | 0     | 18    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.remoteEmptyWorkbenchPresentation            | 1743944590494 | 0     | 18    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.wslContextKeyInitializer                   | 1743944590494 | 0     | 18    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.wslContextKeyInitializer                    | 1743944590494 | 0     | 18    |
| code/willCreateWorkbenchContribution/2/workbench.contrib.perfview                                   | 1743944590517 | 23    | 41    |
| code/didCreateWorkbenchContribution/2/workbench.contrib.perfview                                    | 1743944590517 | 0     | 41    |

Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.99.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@aeschli
Copy link
Contributor

aeschli commented Apr 9, 2025

In the latest version 1.99 we unfortunately no longer support Ubuntu 18.04 distros.

If you see the same problem with other distros, I suspect the slowness is related to extensions. Can try running without extensions?
I can see from the logs that the vscode.microsoft-authentication extension takes a very long time to complete. Unclear why it is started on startup.

@KoutaTakeshi
Copy link
Author

In the latest version 1.99 we unfortunately no longer support Ubuntu 18.04 distros.

If you see the same problem with other distros, I suspect the slowness is related to extensions. Can try running without extensions? I can see from the logs that the vscode.microsoft-authentication extension takes a very long time to complete. Unclear why it is started on startup.

Actually, I have disabled the extensions and test on ubuntu 22.04, it has the same problem, what logs should I check to identify the problem?

ubuntu22.04.mp4

@aeschli
Copy link
Contributor

aeschli commented Apr 11, 2025

Can you try with VS Code 1.99.2 ?

@KoutaTakeshi
Copy link
Author

This issue still occurs in VS Code 1.99.2

@KoutaTakeshi
Copy link
Author

@aeschli Do you have any other ways to solve this problem? It really troubles me

@aeschli
Copy link
Contributor

aeschli commented Apr 24, 2025

Sorry, I don't. I can't reproduce on my system, and there also hasn't been any real changes to the WSL extension of VS Code remote.

Is it maybe caused by mirrored mode?
You need to check whats set in .wslconfig

#198429 has a suggestion

@KoutaTakeshi
Copy link
Author

Sorry, I don't. I can't reproduce on my system, and there also hasn't been any real changes to the WSL extension of VS Code remote.

Is it maybe caused by mirrored mode? You need to check whats set in .wslconfig

#198429 has a suggestion

Yes, I set networkingMode=mirrored in .wslconfig, and after I change it to NAT, the problem has been solved, thanks for your help!

#10855 is similar to my situation, but I did not reproduce its results

@trytodupe
Copy link

Sorry, I don't. I can't reproduce on my system, and there also hasn't been any real changes to the WSL extension of VS Code remote.

Is it maybe caused by mirrored mode? You need to check whats set in .wslconfig

#198429 has a suggestion

This is cause of my problem as well, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants