process.report.getReport is very slow when called in Extension Host, blocks most functionality #238607
Labels
bug
Issue identified by VS Code Team member as probable bug
confirmed
Issue has been confirmed by VS Code Team member
extension-host
Extension host issues
freeze-slow-crash-leak
VS Code crashing, performance, freeze and memory leak issues
linux
Issues with VS Code on Linux
nodejs
NodeJS support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
upstream-issue-linked
This is an upstream issue that has been reported upstream
windows
VS Code on Windows issues
Milestone
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:
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
The text was updated successfully, but these errors were encountered: