Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "*Scan: Disable *Scan if any of renderers is loading"
This reverts commit c3b1439. Reason for revert: likely cause of widespread timeouts http://crbug.com/1234564 Original change's description: > *Scan: Disable *Scan if any of renderers is loading > > In scenarios when a renderer loads a page while *Scan is actively > scanning the browser heap, it can happen that *Scan takes away all the > machine cores. This slows down page loading and causes some metrics to > regress ("First Input Delay", "Time to First Contentful Paint", etc). > > This CL introduces StarScanLoadObserver that listens to load changes in > each WebContents using WebContentsObserver API. In case any of the > WebContents has renderers that are loading a new document, *Scan in the > browser process temporarily disables *Scan until all the renderers > finish loading. > > This (intrusive) change is a temporary experiment. Ideally the jobs API > would be used for scanning tasks, however, due to the cyclic dependency > between the allocator and the scheduler, it's not trivial to switch to > jobs API. The bug 1231679 aims to reevaluate the entire approach. > > Bug: 1129751,1231679 > Change-Id: Idc75a9d4a8f8bc608cc0934f43948582c0457cd8 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015346 > Commit-Queue: Anton Bikineev <bikineev@chromium.org> > Reviewed-by: Charlie Reis <creis@chromium.org> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org> > Reviewed-by: Kentaro Hara <haraken@chromium.org> > Cr-Commit-Position: refs/heads/master@{#906310} Bug: 1129751 Bug: 1231679 Bug: 1234564 Change-Id: Ie276a7fcf90b72a4a30c330dc26bc4e47c81eb58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3063802 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Stephen Martinis <martiniss@google.com> Reviewed-by: Stephen Martinis <martiniss@chromium.org> Reviewed-by: ccameron <ccameron@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#907274}
- Loading branch information
1 parent
5aea13e
commit 7ec1259
Showing
10 changed files
with
18 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.