Skip to content

Bug: Git columns causing CPU to increase #12737

Closed
@soleon

Description

@soleon

Description

Performance of listing files in any folder in a git repository is abysmal for me to say the least. As soon as I open a git folder, CPU maxes out for a short period of time while the UI freezes/stutters intermittently, making the app unusable.

Sometimes, switching from one folder to another in the same git repository also freeze the app for a few seconds to a few 10 seconds before the content of the folder actually changes.

During these freezes, nothing seemed to have been logged to the debug.log file, I have attached it anyway.

I noticed repetitive COMExceptions in the log with the message "由于超时时间已过,该操作返回", they translate to "This operation returned because the timeout period expired".

See the following screenshot for the CPU utilisation over 60 seconds opening a folder containing 108 folders/files.
image

Steps To Reproduce

Open any folder in a git repository.

Requirements

At least provide an option to disable native git integration, in case if this is a rare case that only happens to my git repo or on my PC.

Files Version

2.5.10.0

Windows Version

Windows 11 Pro 22H2 OS Build 22621.1848 Windows Feature Experience Pack 1000.22642.1000.0

Log File

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions