Files icon indicating copy to clipboard operation
Files copied to clipboard

Code Quality: Optimize large folder enumeration performance

Open workbysaran opened this issue 3 months ago • 2 comments

Resolved / Related Issues

Fixed performance issues when enumerating large folders that would cause the UI to freeze or become unresponsive during folder scanning operations.

Steps used to test these changes

  1. Open the Files app and navigate to a directory containing a large number of files (100,000+).
  2. Observe the folder enumeration process and UI responsiveness.
  3. The UI remains responsive during large folder operations without freezing.

workbysaran avatar Sep 26 '25 06:09 workbysaran

It could be confusing to people that this folder is empty is shown for a few seconds while it loading. That doesn't happen in v4.0.11

Josh65-2201 avatar Sep 26 '25 11:09 Josh65-2201

It seems to me that C:\Windows\WinSxS takes longer to load with these changes.

yaira2 avatar Sep 26 '25 14:09 yaira2