Skip to content

process.report.getReport is very slow when called in Extension Host, blocks most functionality #238607

Closed
@jakebailey

Description

@jakebailey

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

Version: 1.97.0-insider (user setup)
Commit: cc14c75
Date: 2025-01-23T10:37:55.126Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Clone https://github.com/jakebailey/vscode-getreport-issue
  2. Run the extension
  3. Run the "Hello World" command
  4. Attempt to do anything with the editor

Image

I discovered this as part of dprint/dprint-vscode#99; for months my editor has been unresponsive at startup, unable to hover or even copy and paste now that there are paste providers, and this particular call is the culprit.

If I run Node directly, or call VS Code "as node", it does not exhibit these problems. My impression is that this has to do with VS Code patching all of the networking calls, since unfortunately getReport calls to the network (even though effectively all users use it to check if libc is musl or not).

Related: nodejs/node#55576

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberextension-hostExtension host issuesfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issueslinuxIssues with VS Code on LinuxnodejsNodeJS support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions