Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Git columns causing CPU to increase

See original GitHub issue


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.


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

Windows Version

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

Log File


Issue Analytics

  • State:open
  • Created 3 months ago
  • Comments:22 (15 by maintainers)

github_iconTop GitHub Comments

yaira2commented, Jul 19, 2023

@ferrariofilippo that’s a very good improvement, we can take it a step further and only load the branches when the flyout is opened but let’s start with limiting to the 15 most recent branches.

rudolphoscommented, Aug 21, 2023

Similar issue on Windows 10. CPU usage is around 20-30% after opening Files app and browing folders and scrolling. Tried doing the same on native File explorer and at max it was maybe 5%.

At idle, Files uses more CPU (1.6-3%) than a Chromium browser (0-0.7%) at idle… image

Read more comments on GitHub >

github_iconTop Results From Across the Web

cpu usage - Visual Studio Code using large amounts of CPU
I tried code --disable-extensions in CMD to check if an extension was causing the problem, but my performance was the same as with...
Read more >
Steps to troubleshoot high CPU utilization in SQL Server
The first step is to identify whether a high CPU on the server is caused by the SQL Server process or any other...
Read more >
Code Helper process using more than 100% CPU on macOS
Only one window opened, no files opened, and it always uses more than 100% CPU. Checking in Microsoft/GitHub, there was an issue reported...
Read more >
VS2022 sustained high CPU usage - Developer Community
[severity:It's more difficult to complete my work] VS2022 loaded a fairly large solution(125+ project) never settles down even after a long time.
Read more >
A Simple Approach to Troubleshooting High CPU in MySQL
There are many approaches to troubleshooting high CPU usage, but here we present a simple, widely-used approach that can be adapted to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found