Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Defender might be impacting your build performance

After I updated my PyCharm IDE to 19.2.0 from the 19.1.2. I am getting the following warning:

"Windows Defender might be impacting your build performance. PyCharm checked 
thefollowing directories:
C:\Workspace\Projects\576_UniversityTwitter 
C:\Users\Burak\.PyCharmCE2019.2\system 
C:\Users\Burak\.gradle

Do you think that it is secure, necessary and really improve the performance?

like image 407
Burak Avatar asked Jul 25 '19 12:07

Burak


People also ask

Does Windows Defender affect performance?

Developer claims that a Windows Defender bug could be sapping up to 6% of Intel CPU performance. Developer Kevin Glynn, aka "Uncle Webb," has discovered a weird Windows Defender bug that causes Intel CPUs to suffer a significant performance hit on Windows 10 or 11.

Should I disable Windows Defender for performance?

On its own, it is entirely safe to disable Windows Defender. The problem arises when you disable it without providing a replacement. Make sure you have another security suite set up—and of course the onus is still on you to practice sensible safety precautions.

Does Windows Defender lower performance?

Low impact on performance. Windows Defender is designed to run smoothly on Windows systems — it hardly has an impact when idle and during scans. So it's important to choose a lightweight Windows Defender alternative that doesn't significantly impact your PC's performance, such as Norton or Bitdefender.


3 Answers

You need to exclude those directories in your Windows Security's Exclusion list.

  1. Type Windows Security in your windows Search bar
  2. Click Virus & threat protection
  3. Under Virus & threat protection settings header, click Manage Settings
  4. Under Exclusions header, click Add or remove exclusions
  5. Click Add an exclusion
  6. Select type Folder
  7. Enter the directory
  8. You are done

Yes it is secure, necessary and really improves the performance as the real-time scanning is enabled in Windows defender by default. Read this: Minimize the impact of antivirus software on build speed.

like image 58
Xenon Kfr Avatar answered Oct 23 '22 12:10

Xenon Kfr


I faced the same problem with Android Studio which is from same company after the recent update. So what you can do is you will get the directory which is causing this error. Like You will get the directories here

Then you need to go to Windows Defender and add these folders to the exclusion in Windows Defender or the antivirus you are using.

like image 9
rohan ghosh Avatar answered Oct 23 '22 12:10

rohan ghosh


I did the above steps with adding exceptions to the defender, but the message in the WebStorm application did not want to disappear.

Running the WebStorm application as administrator helped me.

like image 5
MTN Avatar answered Oct 23 '22 13:10

MTN