-
Notifications
You must be signed in to change notification settings - Fork 33
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
Extension causes high cpu load #104
Comments
Hi, I'll try to take a look a this and let you know |
This happened to me, but It seems upstream related. (b/c of that) IMHO no one should de-rank this plugin with low stars due to this issue system:
vscode:
GPM:
Cpu Profile:
TMI (you be the judge, I'll dump everything i got, literally all can think of, poorly written) I noticed after getting the message and the cpuprofile link, that upon using
There was no clang extension host log, I presume b/c it had a notification window and long running progress bar, thus it was not an error nor even logged in extension hosts log file. I'm providing this purely b/c what I experienced seems less like a problem with GPM itself, and more like a problem with the scheduling and/or conflict resolution of a long running extension( thus - i wouldn't expect this is a problem caused by GPM or one that @felipecaputo would know what to consider without a lots of context. But perhaps the vscode team or someone at Microsoft may find it useful. Also a future traveler may have an experience and output to share that adds more context. |
Hi @eriktrom thank you for this well written issue. GPM looks only to folders, and this If it is, could you try put it in I've made a big change migrating extension to TS last month, and fixed some issues. I'll do the last tests and release it, and maybe fix this issue |
Looks like its was The kicker is that I'll have to get lucky again(or not) ha - in this case, if that were too work, the luck would be in never experiencing a cpuprofile dump due to whatever happened last nite, ever again. (which I still think was literally the luck of the draw, and not related solely to GPM, maybe not even partially related)
Sweet, it's one of my favorite vscode plugins - it's become how I manage the chaos of having so many git projects, your awesome |
@felipecaputo - thanks for the help back in 2019 - figured i'd drop u a line on a new finding that happened when I re-organized my mac (so that my dev directory was not under Documents, instead, its under my home dir). It got the extension host to freeze, which is the first time in i guess over a year now. (since I added directories to I put this line in my vscode settings.json file, it says it all:
tl;dr is - it was hanging on a file, actually, an alias to a file, where the alias was in the root of a repo and pointed to a cheerio |
hi @eriktrom thanks for the feedback. I've been working on a complete rebuild of the extension. Some job demands made me take some time off open source (this pandemic make people use a lot online services) but I think I removed it already, and if not, I will remove it, since using chokidar and VSCode builtin cache storage the UX will be a lot better. Thanks for the feedback! |
Performance
git-project-manager
1.7.1
Windows_NT x64 10.0.18362
1.41.0
C:\Users\DELL\felipecaputo.git-project-manager-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
The text was updated successfully, but these errors were encountered: