Finder takes 3 minutes to open a folder with 600k files
My system is a MacBook Air running macOS Catalina on a 2.2Ghz Dual-core i7 with 8GB of 1600 Mhz DDR3 Ram with a 500GB Apple SSD using APFS.
I created a folder with 600k files. I then opened that folder in Finder.
I got a loading screen for 3 minutes.
It then came up:
I also wanted to try this in a folder with 6M files but didn't as I expected it to behave a lot worse.
Is out of the box support for this type of use case expected to happen?
I can make the system I'm working on more complex by doing things like sharding at the folder level but it would be cool if I didn't have to worry about those implementation details and could pass to my users a simple mental model :).
MacBook Air 13", OS X 10.11