New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow build time in Windows environment #1294
Comments
As an additional tip i'd suggest excluding (at least) /tmp from windows search index locations. |
As another data point: My speed-up disabling Windows Defender (Win8) with ember-cli 0.0.39: With Windows Defender:
Without Defender:
Here's how to disable it on windows 8 just for node:
Here's how to disable it for just one directory:
|
How to disable Windows Search Indexing(On Win 8; Win 7 might be different)
|
@ccoenen this info is quite valuable, can you submit it as a PR to the website? |
Thanks @ccoenen! You hit all the points. I too saw an improvement removing the tmp folder from seach indexing. I also realized after posting that adding tmp to the exclusions also worked, which seems a little safer that excluding node.exe, which effectively white-lists any .js files. |
I can get some windows 7 screenshots later today for documentation if that's of help. |
Thanks for the suggestion. I saved 8 seconds (out of 17) by adding node.exe and ./tmp to the excluded scanned processes/paths. My laptop has System Center Enpoint Protection, similar to Windows Defender. |
this has been added to the website, further perf work will likely be in broccoli land |
This is pertinent to Issue #538 but that has been closed to open comment. I wanted to share a partial fix that seems obvious but only just struck me.
I have Microsoft Security Essentials running Real-time protection. This includes process monitoring. I added node.exe to the Excluded processes and have seen a drastic improvement in the build times.
Before:
After:
Still not optimal, but definitely not an ember-cli problem. Might be worth noting in the documentation to disable process monitoring if people are seeing slow build times in Windows environments.
The text was updated successfully, but these errors were encountered: