Skip to content

Performance degradation when quitting on Windows 10 #823

Closed
@BuriedStPatrick

Description

@BuriedStPatrick

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:

  1. Install gitui @ 0.16.2
  2. Run a terminal like cmd.exe (also tested in pwsh.exe)
  3. Navigate to a repository
  4. Open gitui in a repository
  5. Quit gitui
  6. Wait 1-3 seconds (unsure if depends on hardware specs and repository)

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:
gitui-performance

Context (please complete the following information):

  • OS/Distro + Version: Windows 10 Pro 10.0.19043 Build 19043
  • GitUI Version 0.16.2
  • Rust version: 1.5.0

Additional context
Installed through scoop. I've also tested on cargo install but the problem persists unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions