[Extensions] Use BEST_EFFORT task priority to install default apps
Since default apps' installation isn't urgent, it's fine if they take a bit more time to install. This saves precious CPU cycles during fresh profile startup, when Chrome is already busy doing a bunch of other stuff. There are 2 benefits: (1) Other extensions that install at the same time install faster (e.g. force-installed extensions) (2) It reduces jank during the first-run experience (FRE), especially for lower-end/older CPUs, and virtual machines. Since the FRE has fancy CSS animations, the jank is noticeable. Before/after trace comparison: https://imgur.com/a/o9Y0Dqv Bug: 1103447, 904486 Change-Id: I4b9f2eecf71c3414a36769d896296d4f089c81a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377888Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Cr-Commit-Position: refs/heads/master@{#803180}
Showing
Please register or sign in to comment