#82936Bad performance iterating local files
Description
The filetree takes very long to load (15 seconds in my case) on a system with many expanded folders (here ~2000) containing files themselves.
This time can be improved by minimizing calls to SplFileInfo.