With the default prefs we do async proxy resolution for every channel. Most users these days have Windows set to "no proxy" in the Windows internet settings. We should detect changes by observing for either registry changes or doing some other magic and bypass proxy resolution completely when no proxy has been specified. I can see 20+ ms (on a fast machine, in an opt build!) on EVERY channel. This also includes main thread dispatch. Not sure we could have this for 57, but would definitely be nice. Loosely blocking CDP. https://stackoverflow.com/questions/6192563/detect-windows-ie-proxy-settings-changes
One simple solution (some probability of regression prove..) could be to refresh the registry settings only when loading a top level document and not for sub-resources.
Whiteboard: [necko-next] → [necko-next][proxy]
Assign to myself, but maybe fix later, so keep necko-next.
Assignee: nobody → xeonchen
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P3 → P2
You need to log in before you can comment on or make changes to this bug.