forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Plumb resources serviced from memory cache to PLM"
This reverts commit 44af1fd. Reason for revert: DefaultKeyboardExtensionBrowserTest.LayoutTest is flaky on linux-chromeos-rel. Bug: 979459 Original change's description: > Plumb resources serviced from memory cache to PLM > > Byte metrics in page load metrics should be indicative of all bytes loaded > by the page. UMA shows that large numbers of resources (~45% of JS > resources) come from the memory cache. To provide a better picture of > everything loaded by the page, we should make memory cache resources > visible to observers. > > This change plumbs information about resources loaded via the blink > memory cache into PageLoadMetrics. This is done though the existing > SendTiming mojo, and these resources are included in the existing > OnResourceDataUseObserved callback for PageLoadMetrics observers. This > was added to the existing interface so that an observer that wants to > look at all bytes loaded on the page does not need to implement two > separate interfaces. > > Because we modify the existing mojo, all existing observers need to be > updated to either discard resources loaded by the memory cache, or need > to have their relevant histograms versioned. > > Observers whose metrics are updated: > - CorePageLoadMetricsObserver > - TabRestorePageLoadMetricsObserver > - MediaPageLoadMetricsObserver > - UkmPageLoadMetricsObserver > > Observers whose metrics would be affected but are modified to ignore > MemoryCache resources: > - ResourceMetricsObserver > - AdsPageLoadMetricsObserver > - DataReductionProxyMetricsObserver > > Only the histograms versioned in this CL should change. For all histograms > not versioned in this change, this should be a no-op. > > Bug: 968141 > Change-Id: I67ed0977f8532616815ba0fbe6e1eb3f3b70e36f > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1633190 > Commit-Queue: John Delaney <johnidel@chromium.org> > Reviewed-by: Bryan McQuade <bmcquade@chromium.org> > Reviewed-by: Charlie Harrison <csharrison@chromium.org> > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> > Cr-Commit-Position: refs/heads/master@{#672925} TBR=kinuko@chromium.org,bmcquade@chromium.org,csharrison@chromium.org,johnidel@chromium.org Change-Id: I6139ba2fea9b915cff2fdfb143216be14a3ea6e9 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 968141 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681887 Reviewed-by: Sergey Poromov <poromov@chromium.org> Commit-Queue: Sergey Poromov <poromov@chromium.org> Cr-Commit-Position: refs/heads/master@{#673284}
- Loading branch information
Sergey Poromov
authored and
Commit Bot
committed
Jun 28, 2019
1 parent
32283a3
commit c87d16d
Showing
35 changed files
with
70 additions
and
364 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 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 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
Oops, something went wrong.