Compiler is usually IO bound on windows due to NTFS and the small files in MFT and lock contention problem. If you put everything on a ReFS volume it goes a lot faster.

Applies to git operations as well.

by "IO bound" you mean "MS defender bound"

Dev Drive can help with that as well