On Windows 10 PCs, most likely the Windows Defender scan affects the build process of many IDEs.
Add arm-none-eabi-gcc.exe process to Windows Defender exclusion list and see if that helps.
Definitely helped at least 5x by adding the gcc to windows defender exclusions.
Is there any other magic tricks to make it even faster? I remember it being faster on my windows 7 machine.
Is there a list of IDEs that can be improved by this? WHAT THE HELL MICROSOFT!
In my case it took like 15 minutes to build and compile. I just simple deactivate the antivirus real time analysis program(in my case McAfee). Surprisingly when i build and compile again just take like 2 minutes.