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
Git extension is super slow since version 1.56.0 #718
Comments
Can't reproduce it on Linux. |
Same problem on my MacBook Pro 2019, there are errors in the console when i try to add a file to my index :
and
|
@daiyam If it is the extension that does this problem do we have the same problem on Visual Studio Code and not only Vscodium ? |
@Nopraz Good question. Can you check if you are getting the errors on VSCode even if it's not slow? |
Just checked, no errors on visual studio code |
I have also checked on VSCode the other day and have not seen any slowdown. |
I can't reproduce the error with VSCodium v1.56.1 and the examples from the OpenAPI Specification. |
It's slowed down everywhere—even when just opening up a tiny project I'll see "Initializing JS/TS language features..." and "Activating language features..." spinning in my status bar for what feels like 5 seconds each. It's gotten significantly better for me with v1.56.2, but it's still not where v1.55.2 was. I notice it most when Git pulling (via the UI) and when the autofix feature enabled via |
I have the same issue: $ uname -a
Darwin (HOSTNAME) 20.4.0 Darwin Kernel Version 20.4.0: Fri Mar 5 01:14:14 PST 2021; root:xnu-7195.101.1~3/RELEASE_X86_64 x86_64 Not sure if it's related but here is also my git version: $ git --version
git version 2.29.0 I just downloaded and installed |
I faced the same issue: |
@mlbiche @MrOggy85 @sagolubev Can you troubleshoot your setup? I'm on macOS and I can't reproduce the issue. I've opened the vscode project with gitlens activated and I don't have any slow down. Does the solution of @robinloeffel is working?
|
@daiyam I tried it, but no difference. It happens for any type of files. I have tried with |
Can you edit
|
I tried it, but still no difference |
I also tried removing the app and install the latest version from the .dmg file from "Releases" page here on Github. Originally I installed vscodium from |
I've looked at the git extension and I've seen that vscode's team have added virtual workspaces. So the change of |
This still occurs on latest. Also tried disabling all extensions, but no luck
|
I was able to confirm that downgrading to 1.55.2 fixed my issue with laggy editor behavior when switching tabs or opening files. |
Was it from local files or remote files? |
I was also able to reproduce this issue on my mac with versions >1.55.2. The whole editor became noticibly sluggish. I'll keep poking at it to see if I can figure out what changed. |
While playing with remote ssh, I found that I can't connect to my VM with VSCodium where I can with VSCode... |
For me, local files.
…On Thu, Jul 1, 2021 at 15:15 Baptiste Augrain ***@***.***> wrote:
Was it from local files or remote files?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#718 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADRE3IM56EOKYIWZVWUOCDTVTSIZANCNFSM44REVNNQ>
.
|
Until VSCodium git extension bug is fixed (VSCodium/vscodium#718).
Same here in Manjaro, I tried to install python extension on Vscodium, but it keeps "installing" and nothing happens |
Hi, |
@atapfedora @enx1998 If you are talking about the python extension, please open another issue. This issue is about slow git... |
For the git issue, I can't reproduce it on my macOS or my arch linux... VSCode is having the same issue (for example: microsoft/vscode#120883) Can you share your |
Any update on the issue? I'd love to update sooner or later 😅 |
I'm on version
Git speed is back to normal for me.
|
for me its still super slow :(
and since it looks like nobody is trying to fix this i will switch back to vscode... |
Nevermind, I see now - Panel > Output > git |
Note that this doesn't seem to be a VSCodium problem -- it seems to be a problem with open source builds of VSCode in general (see my notes above: #718 (comment)). So that's good in a way, because the problem is relevant to a much larger set of people and we can seek advice/explanation from anyone familiar with building VSCode; we should probably open an issue on the main VSCode repo (although we should check it's still occurring with the latest release). |
A comparison on my machine. Same (symlinked) plugins and settings files. I installed these via brew and did not build them from source. VS Codium
Git output:
VSCode
Git output:
In a table
|
I am experiencing the same latency even if it feels a bit better than before. It is almost usable. @dandavison When I was first searching for fixes for this issue, I found some issues on VSCode repository but the only solution mentioned was to remove Codesign signatures which does not solve the slowness on my machine. @brkn Can you post the output you have in Panel > Output > Git as they did please ? |
@robrecord can you characterize the git repo you're testing in -- many files? many branches/tags? etc I was testing in a very large monorepo with many branches and tags. |
A monorepo with a large amount of files, but few branches and tags (4 local branches, 3 remote branches, one remote, no tags), about a hundred commits. |
Hey guys, The observations I made on my side:
My configuration:
Useful comments: @dandavison You said that "it seems to be a problem with open source builds of VSCode in general", do you have any issue referencing the same kind of issue in other open source builds of VSCode? Edit: corrected the fact that VSCode seems to be also affected by this issue |
Yes - the problems with the git extension performance that I reported above, and the timings, none of it used VSCodium in any way (in fact I've never used VSCodium). Everything I did was using OSS builds of vanilla VSCode on MacOS. |
To be clear, even some users of VSCode have the same issue. |
Some issues on VSCode repository : |
Cropping back up on my macOS Monterey machine with VSCodium 1.66.2 Recent happening too, it wasn't occurring with earlier versions. Most noticeable in the intersection between completion plug-ins (which suddenly hang and stall the cursor) and built-in git. Sometimes GitLens is trying to do something, but most of the time, it's just the background git process checking for updates. Added - sometimes there is no completion happening, the cursor just stalls. It's a full UI freeze, I just seem to notice it more when a completion is trying to run. |
The only thing I can think of is that it's something to do with the compiler used. |
Found a CPU profile in the developer tools, if it can help 😉 |
Hi, for those on M1, you might want to try the new arm64 binary. |
Visual Studio 2019 v16.11.12 - If I am attached to the internet GitHub turns my pc into a turtle. Disconnect internet and pc is the hare. Also working in a project that is not associated with GitHub with internet connection works just fine. GitHub is the problem here. |
@TheOnlyDasBoot here we are discussing how to fix a slowdown on VsCodium, not whining about GitHub. Make a new issue on https://github.com/github |
@TheOnlyDasBoot Your issue isn't related to VSCodium so please avoid any further ranting here. Thx |
I have updated VSCodium to version 1.67.0 and tried to enable the Git extension again and it seems to run smoother, even with GitLens enabled. I haven't tested on previous VSCodium versions so I don't know if the fix comes from the last version. Here is my Git output today :
Some commands still take longer than 100ms on VSCodium startup, but none are afterward. 🎉 |
Can confirm with the new version it seems to be better |
Hi all, |
git status is very slow.
vscode version
|
I upgraded from 1.66 to 1.70 today and Git performance is much better! This issue is solved as far as I'm concerned. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment, and we'll keep it open. If you have any new additional information, please include it with your comment! |
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue. |
Describe the bug
Since VSCodium updated to 1.56.0, I am suffering important slowdown of the editor. The SCM is particularly slow in all its features (especially showing diffs and refreshing changes, but also committing). It also causes slowdown for the GitLens extension but the slowdown remain even when disabling the extension. I have run an extension audit and it has shown that Git extension was some time not responsive. It causes slowdown in the whole application, with a kind of side effect on other extensions such as ESLint or Prettier.
I have downgraded VSCodium to the version 1.55.2 and everything is running smoothly then. Upgrading back to 1.56 show the slowdown again?
Please confirm that this problem is VSCodium-specific
Please confirm that the issue/resolution isn't already documented
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A SCM as fas as it as in the version 1.55.2.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: