<div dir="ltr"><div>Adding Firefox source directory to Windows Defender's exclusion list is the very first thing I do after I install the system. I also added the directory of MozillaBuild to the list, and the C++ compiler (cl.exe) to exclusion processes list. Not sure to what extend would that affect the build speed, though.<br><br></div>- Xidorn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 1, 2016 at 10:48 AM, Gregory Szorc <span dir="ltr"><<a href="mailto:gps@mozilla.com" target="_blank">gps@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I recently started using Windows as my main development environment (because that's what most Firefox users use and I want to improve the Firefox development experience on Windows so more people develop on Windows). It seems every day I find another source of painful slowdowns and productivity issues on Windows. Today's is Windows Defender (which is installed by default on Windows 10).<br></div><br></div>As I measured in bug 1272851, Windows Defender slows down execution of the xpcshell harness by ~2x. Other operations like building are also impacted. Basically anything do lots of file creation and writes will be significantly slower, especially on SSDs.<br><br></div>Until we find a way to alert people to the negative performance impact of Windows Defender (or most other anti-virus solutions for that matter) in bug 1276019, I would invite you to consider having Windows Defender (or other anti-virus products) exclude the Firefox source and object directories so file scanning doesn't slow down I/O intensive development operations. Of course, I can't blindly recommend you disable security. But you should at least weigh the risks against the known productivity gains.<br><br></div>Instructions for adding an exclusion to Windows Defender are available at <a href="https://support.microsoft.com/en-us/instantanswers/64495205-6ddb-4da1-8534-1aeaf64c0af8/add-an-exclusion-to-windows-defender" target="_blank">https://support.microsoft.com/en-us/instantanswers/64495205-6ddb-4da1-8534-1aeaf64c0af8/add-an-exclusion-to-windows-defender</a>.<br></div>
<br>_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>