Nov 10 2021
When enumerating a HDD (spindle) it takes X time, any re-enumerations are instant as they're cached.
When enumerating an SSD it takes X time, any re-enumerations take Y time, where Y is roughly X/2, not instant as expected.
Possible areas where the issue resides.
1. This might be a Windows 10/11 not caching SSD drives.
2. .Net 6 has a new IO system with performance improvements, although I see the same behaviour in .Net 5 and .Net Core 3
3. Something in my computers configuration, however, during a re-enumeration, the CPU and SSD are pretty much idle, but the enumeration still takes up to 15 seconds.
Any thoughts ?
This affects all enumeration methods.