DescriptionDisable SettingsEnforcement when the machine is connected to a domain.
This add ~0.18ms to startup on my machine; note that it's already called 4 times before me (the first call costing ~0.38m followed by 3 X 0.18ms).
See my analysis on http://codereview.chromium.org/140553005
It's not clear whether this can get worse in some scenarios, but I'm already calling this later than the current caller so...
I'm also keeping the result as a static to avoid calling this multiple times (e.g. when doing unloaded profile initialization we don't want to call this multiple times in a loop in a short time span).
And we have timing stats for Settings.FilterOnLoadTime which will let us know if there are any big outliers coming out of this CL.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251500
Patch Set 1 #Patch Set 2 : also gather timings when IsEnrolledToDomain is true #Patch Set 3 : win-only #Patch Set 4 : merge up to r250043 #Patch Set 5 : merge up to r250500 #
Total comments: 2
Patch Set 6 : better approach #Messages
Total messages: 13 (0 generated)
|