-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
[Windows] Slow startup due to antivirus softwares #1487
Comments
We've definitely been noticing this with Slack. Some AV block our network traffic outright, resulting in blank white-screens and confounded users. The better vendors (AVG, Kaspersky) have false positive forms that you can fill out, typically linked from their Support page. Some of them are fascists and will ask that you reproduce the issue (requiring you to first pay for their product or install a trial) and send them the logs from an instance when the app is blocked (here's looking at you, Symantec). When filing these whitelist requests, I've thus far included details about Electron / Squirrel and pointed out that these problems will apply to a number of other applications. So hopefully at some point we can reach a critical mass. |
How does plain Chrome / Chromium compare to that? If it doesn't get affected, then Electron does something wrong. |
Definitly right. The app "electron.exe" must be signed |
This isn't necessarily true, AV software often just has flat-out whitelists - Chrome will naturally be in that list, and we won't |
sigining an app can be expensive, and I'm not sure it will help a lot, maybe there are trials for that, so we can test if there are any difference? |
afaik Atom is already signed by GitHub, if you're building it yourself this might be a contributing factor |
Chrome seems not affected by antiviruses but:
I have just tested to sign the app with a valid authenticode certificate (GlobalSign) and there is no changes with panda antivirus (not tested with avast). I signed both .exe and .dll files.
atom executable is signed but not electron ones. |
I'm closing this since there is nothing we can do on Electron's side. |
BrowserWindows are really slow on our Windows machines! |
I had a quite slow startup on windows so I made some benchmarks and found that most antivirus softwares are highly slowing startups on windows.
Also @romovs #1474 was probably due to this.
This happens at every startup, even on a app that have been cleanly installed with a signed installer.
I tested with an empty app (just start main crash reporter, open one empty window and start renderer crash reporter), on Windows 8.1 64bit, electron 0.25.1 x64.
Results:
Whithout any antivirus
Total startup time (from main thread start to ready event): **~ 150ms**
Details:
With avast 2015
Total startup time: >1500ms
Details:
With Panda Free Antivirus
Total startup time: >7000ms
Details:
I have not tested with more antiviruses but I think they all have the same sandbox / execution watcher features.
6s for an empty app startup is a real issue and I can't tell my users to disable their antiviruses to make my app boot normally.
I'll try to enquire more on what could cause such slowdown and are the usual solutions but I think that's a concern for all electron app (including atom)
The text was updated successfully, but these errors were encountered: