The solution is to use an NVME SSD and stop programming on Windows.
NTFS is painfully slow for many-files type use cases. Unfortunately, many-files describes most codebases. Git clients on Windows are also painfully slow for this reason.
Not sure what to tell you, this should be solved on Macs. I'm pretty sure their SSDs are very fast. Although - be aware, the smaller capacity ones are about half the speed. They don't tell you that.
NTFS is painfully slow for many-files type use cases. Unfortunately, many-files describes most codebases. Git clients on Windows are also painfully slow for this reason.