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.
- Xidorn On Fri, Jul 1, 2016 at 10:48 AM, Gregory Szorc <g...@mozilla.com> wrote: > 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). > > 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. > > 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. > > Instructions for adding an exclusion to Windows Defender are available at > https://support.microsoft.com/en-us/instantanswers/64495205-6ddb-4da1-8534-1aeaf64c0af8/add-an-exclusion-to-windows-defender > . > > _______________________________________________ > firefox-dev mailing list > firefox-...@mozilla.org > https://mail.mozilla.org/listinfo/firefox-dev > > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform