Had the same problem on my new PC. Exclusions (alone) didn't help.
Smart App Control was the key - it was in Evaluation Mode. Disabling it resulted in my test execution times going from 400ms to <1ms with Defender enabled. Typically I see times around 0.2ms.
Smart App Control adds significant protection from new and emerging threats by blocking apps that are malicious or untrusted. Smart App Control also helps to block potentially unwanted apps, which are apps that may cause your device to run slowly, display unexpected ads, offer extra software you didn't want, or do other things you don't expect.
Smart App Control works alongside your other security software, such as Microsoft Defender or non-Microsoft antivirus tools, for added protection.
What I gather from the article, developers are not great candidates for Smart App Control.
Essentially, we're looking to see if Smart App Control is going to get in your way too often. There are some legitimate tasks that corporate users, developers, or others may do regularly that may not be a great experience with Smart App Control running. If we detect during evaluation mode that you're one of those users, we'll automatically turn Smart App Control off so you can work with fewer interruptions.
I concluded that I can just disable it. Anyone on this forum also likely is in the same group of people.
Comments
Had the same problem on my new PC. Exclusions (alone) didn't help.
Smart App Control was the key - it was in Evaluation Mode. Disabling it resulted in my test execution times going from 400ms to <1ms with Defender enabled. Typically I see times around 0.2ms.
Regarding what Smart App Control is, here's the support article: https://support.microsoft.com/en-us/topic/what-is-smart-app-control-285ea03d-fa88-4d56-882e-6698afdb7003
What I gather from the article, developers are not great candidates for Smart App Control.
I concluded that I can just disable it. Anyone on this forum also likely is in the same group of people.
Hope that helps.
Turning off "Smart App Control" solved the problem for me also. Thanks! 👍