LCB
LCB

Reputation: 1

VSCode keeps freezing up for a few seconds, and I can't understand the function call that's hanging in Performance

I'm using VSCode with Remote Explorer to access a git repo on a server. In the past few weeks, it's started hanging for 3-5 seconds something like once a minute, which is super annoying. I did a performance record using Toggle Developer Tools, and I caught a function call that's hanging for 5000+ms. Unfortunately, I'm stumped looking at the code it points me too, as it's pretty dense js, which I'm not super familiar with.

Help: About

Version: 1.79.2 (user setup)
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:57:04.379Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19044

Performance graph

Function hanging for 5s

Garbage collection seems like a part of it, but not the whole delay

The function call is i.onload @ workbench.desktop.main.js:656:2301. From as much as I can tell, that just covers

this.i.onload=n=>{this.k=!1;const f=n.target.result;this.traceSocketEvent("read",f),this.a.fire(f),this.j.length>0&&s(this.j.shift())};

However, I can't figure out what this is referencing, and what the problem might be. Does anyone have any idea what is going on here? Is there a better location I should be asking about this?

Upvotes: 0

Views: 464

Answers (1)

Simon
Simon

Reputation: 1

Make sure you don't have another remote session active on another computer. This seems to be a bug with copy paste hanging for me.

Upvotes: 0

Related Questions