-
Notifications
You must be signed in to change notification settings - Fork 8
Studio: hanging on Git operations, Git menu very slow to load #269
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
@isc-tleavitt Hi, yes we're using an https remote (Azure dev ops). Would ssh remotes potentially help (that's the other option provided in Azure)? re: #235 I haven't seen any credential checks coming up |
@zdateh yes, switching to ssh would fix the issue. The problem is that the credential check is coming up in the background and hanging the process on the server. :( |
Closing this as a duplicate of #235 |
Switching to SSH has indeed fixed my remotes issue - all git operations appear to succeed so far, thanks! However it's still as slow in studio as before :( I am unsure what it could be doing in the background as git operations are near-instant from the command line, but as soon as I click on that Git menu, it's doing nothing for 5 seconds. Any ideas? |
Hi, could we please re-open this? We have been using SSH as requested but the menus and studio operation is still noticeably slower with Git extension active. e.g.:
None of them dealbreakers but can be annoying whilst developing :) Cheers |
@zdateh sure, happy to reopen given your observations. Technically speaking (for whoever picks this up): @zdateh - if you could capture %SYS.MONLBL (RtnLine/Time/TotalTime) on SourceControl.Git.* for loading a single routine (which is taking 5-10 seconds) and attach as CSV that would be super helpful. I'm pretty sure the overhead will just be in the $zf(-100) calls, which perhaps we could look to reduce somehow, but it would be good just to be sure it's not something else/surprising. |
Thanks! Attached csv: |
@zdateh thank you, that's super helpful - the bottleneck isn't at all where I would have expected. (Which is why %SYS.MONLBL is so great.) Top issues are: Routine | Line | RtnLine | Time | TotalTime | Code We can definitely optimize these things. |
This is fixed via #318. |
I am unable to practically use the Git menu in studio - doing operations like 'Fetch from Remote' just hangs Studio, with no error or anything in the console. Are there any ways I can diagnose what is causing this?
The Git menu is also slow to load - it takes around 5 seconds to display, which makes it pretty hard/annoying to use whilst working. I also fancy this extension has slowed down Studio in general.
By using a combination of what works and Git bash, I can do change control, but not really ideal!
The text was updated successfully, but these errors were encountered: