-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Performance degradation when quitting on Windows 10 #823
Comments
@BuriedStPatrick thanks for reporting this. I have a hunch what it is related to but to confirm: what key bindings do you use and what exact key did you use to quit in this example. could you also test if quitting via |
@extrawurst That's great news! I can also reproduce this with both the standard cmd.exe as well as Windows Terminal. key_config.ron:
|
@BuriedStPatrick ok then my theory is wrong. could you do 2 things:
|
@extrawurst Here you go :) Software versiongitui 0.16.2 (aacc7a3-modified) Operating systemWindows 6.2.9200 Compile time information
Environment variablesSHELL=<not set>
EDITOR=<not set>
GIT_EDITOR=<not set>
VISUAL=<not set> Command-lineC:\Users\patrick.christensen\scoop\apps\gitui\current\gitui.exe --bugreport Log when running
Log when running
|
It seems this was introduced in 423a014. Line 54 in 423a014
When executing with Changing The logged error is still there, but i guess this is the expected (?) behavior. |
rather perform a graceful shutdown
@BuriedStPatrick @Icxolu can you test the branch |
@extrawurst This fixes it for me, I can't observe any close-delay anymore. |
rather perform a graceful shutdown
@extrawurst @Icxolu Can confirm on my end as well. Thanks, and good work! :) One thing of note when attempting to test: I had trouble installing the specific branch with cargo due to a dependency on Perl in Windows. Apparently Perl ships with Windows, but isn't compatible with the To fix this, so I could test gitui, I simply installed Perl manually with winget, which solved the issue for me, letting me compile:
|
rather perform a graceful shutdown
Describe the bug
Since 0.16.0 and onwards, quitting GitUI seems to be significantly slower than it used to on Windows. This does not appear to be the case on my Linux machines, however.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
On 0.15.0 gitui quits almost immediately. I would expect the same on 0.16.x+.
Screenshots
To better illustrate, here's a GIF where I compare the two versions:
Context (please complete the following information):
Windows 10 Pro 10.0.19043 Build 19043
0.16.2
1.5.0
Additional context
Installed through scoop. I've also tested on cargo install but the problem persists unfortunately.
The text was updated successfully, but these errors were encountered: