You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance issues and random hangs on Windows 11 #13416
GitHub Desktop has become slow and buggy recently. It takes some time until the buttons become responsive. It takes some time until it adds, clones, or fetches the repositories.
@aminya thanks for the report -- I took a look at the logs and can see that refreshing your repositories is taking a rather long time:
2021-11-29T13:20:33.696Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 46 repositories took 11.6s of which 189.5s paused, total 201.0s
2021-11-29T15:22:45.532Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 46 repositories took 14.2s of which 515.3s paused, total 529.5s
Since you have a larger-than-average amount of repositories that would be my guess as to what is causing the slowdown for you. I'd recommend disabling background fetching to see if that improves performance. You can do this by going to File > Options > Advanced and unchecking the Periodically fetch and refresh status of all repositories checkbox. Let me know if that helps with this issue.
I have also noticed this, I can assure you that it isn't my computer/drive being slow as I have a very high-end pc. I have unchecked Periodically fetch and refresh status of all repositories and I will monitor it for a while.
The initial load time seems to be a bit faster with that option disabled. But the UI still feels unresponsive in some cases. Here is the log for me wanting to check the diff of a file. I could not do anything for some seconds.
@aminya@AppDevMichael are either of you running antivirus software on your machine outside of the built-in Windows Defender? That's a common culprit of performance issues as well.
Hey @aminya, sorry to hear you're having problems. Those execution times certainly aren't what we'd expect to see. Are these extra safeguards that you have enabled on your machine something you can temporarily disable to see if that's what's interfering with GitHub Desktop?
FYI - Im experiencing the same slow down issues in Win11 which began for me on 12/15/2021. Prior to that date, everything was humming along like normal. Now, it takes several seconds on every single button click within Github desktop. And extra time to perform all actions.
Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, a maintainer will reopen this issue.
Well, it's been only 3 days since someone commented on this issue! I provided many log files. If there is anything specific needed, let me know. Other people also mentioned that they are experiencing the same problem. So I do not think this is related to my system. I'd prefer not to make my system vulnerable for using Github Desktop.
@aminya@WindRaidor are you still experiencing these performance issues? I've been running Windows 11 with a decent amount of repositories and have not noticed any issues, but that is on a fairly powerful desktop machine.
Activity
steveward commentedon Dec 2, 2021
@aminya thanks for the report -- I took a look at the logs and can see that refreshing your repositories is taking a rather long time:
Since you have a larger-than-average amount of repositories that would be my guess as to what is causing the slowdown for you. I'd recommend disabling background fetching to see if that improves performance. You can do this by going to
File>Options>Advancedand unchecking thePeriodically fetch and refresh status of all repositoriescheckbox. Let me know if that helps with this issue.AppDevMichael commentedon Dec 2, 2021
I have also noticed this, I can assure you that it isn't my computer/drive being slow as I have a very high-end pc. I have unchecked
Periodically fetch and refresh status of all repositoriesand I will monitor it for a while.aminya commentedon Dec 3, 2021
The initial load time seems to be a bit faster with that option disabled. But the UI still feels unresponsive in some cases. Here is the log for me wanting to check the diff of a file. I could not do anything for some seconds.
aminya commentedon Dec 5, 2021
Here is another log. It took GitHub Desktop 3.5 minutes to clone a repository. Cloning a repository from the terminal takes a fraction of a second.
2021-12-05.desktop.production.log
steveward commentedon Dec 7, 2021
@aminya @AppDevMichael are either of you running antivirus software on your machine outside of the built-in Windows Defender? That's a common culprit of performance issues as well.
aminya commentedon Dec 7, 2021
I only use the built-in security features of Windows 11. I have also enabled Windows ASR and LSA using hardentools
The problem does not happen with Git from the terminal, so not sure how the issue is different.
niik commentedon Dec 13, 2021
Hey @aminya, sorry to hear you're having problems. Those execution times certainly aren't what we'd expect to see. Are these extra safeguards that you have enabled on your machine something you can temporarily disable to see if that's what's interfering with GitHub Desktop?
WindRaidor commentedon Dec 17, 2021
FYI - Im experiencing the same slow down issues in Win11 which began for me on 12/15/2021. Prior to that date, everything was humming along like normal. Now, it takes several seconds on every single button click within Github desktop. And extra time to perform all actions.
no-response commentedon Dec 20, 2021
Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, a maintainer will reopen this issue.
aminya commentedon Dec 20, 2021
Well, it's been only 3 days since someone commented on this issue! I provided many log files. If there is anything specific needed, let me know. Other people also mentioned that they are experiencing the same problem. So I do not think this is related to my system. I'd prefer not to make my system vulnerable for using Github Desktop.
steveward commentedon Mar 31, 2022
@aminya @WindRaidor are you still experiencing these performance issues? I've been running Windows 11 with a decent amount of repositories and have not noticed any issues, but that is on a fairly powerful desktop machine.
aminya commentedon Mar 31, 2022
I reduced the number of repositories that I have in the app. I cannot reproduce this anymore given this condition.
steveward commentedon Mar 31, 2022
Thanks for the update!
rackodo commentedon Apr 5, 2022
Hey, I'm also experiencing some severe performance issues. It takes like 3 second for updates.
If it helps, this was recorded using ScreenToGif at 15 fps, and the repo used is bashbox.