-
Notifications
You must be signed in to change notification settings - Fork 513
PSSession is very slow #1648
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
Comments
@MattLParker Thanks for submitting this issue, we are tracking this performance issue here #1464 so I will close as a duplicate. |
@MattLParker I'm going to reopen this issue to track separately. Just FYI we've currently got quite a large backlog to get through at the moment, and a performance/deadlock issue like this is something that (1) may be fixed by other efforts to improve performance/deadlocks globally (the main thing we are trying to work through in our backlog at the moment) and (2) is very tricky to debug. With that in mind, it's unlikely we'll be able to look into this any time soon, but if you keep hitting this, any information you can provide here will be helpful. @SeeminglyScience has encountered other bad threading behaviour and it has to do with our thread model colliding with PowerShell's own threaded behaviour in various places. So it may well be that resolving thread bugs we are looking at now will also alleviate this. |
It does happen every time I load the function, I will pull more info on it. |
It's gone all "gaga" on you. Doh! Hopefully that will be a simple fix. |
@MattLParker would you be able to open a new issue for this? |
I mean I can but where? |
Just in this repo. I mean that the |
The original is me for this problem. ? |
There seem to be two orthogonal problems:
Is that accurate? |
I believe that all of my lag (1) is actually directly related to (2), I ran some code and through the log, found the same get-helps during the hang in execution of code. |
One thing we should consider doing is caching the result of If we don't already, we should also skip the |
Issue Description
Issue Type: Performance Issue
When using powershell (64 or 32) for around 5-10 minutes, running run code snip or debug will result in cpu spikes on powershell, and will hang in the integrated console for multiple minutes, even on a command that runs near real time.
Attached Logs
Log will be emailed.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: