-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report PreloadingTriggeringOutcome to UMA.
A new histogram "Preloading.{PreloadingType}.Attempt {PreloadingPredictor}.TriggeringOutcome" is added to track the terminal status of preloading events, for which we can derive the number of prefetches, prefetches success rate etc. PreloadingPredictor is changed from enum class to a normal class so that it holds both the UKM enum as well as the string description. With such, - ContentPreloadingPredictor / ChromePreloadingPredictor are removed, along with all the associated ToPreloadingPredictor cast methods. - {Chrome|Content}PreloadingPredictor::PredictorXYZ is re-expressed with {chrome|content}_preloading_predictor::PredictorXYZ namespace. - PreloadingPredictor content layer enum boundaries are removed. The enum validity check is placed into PreloadingDataImpl, just before the predictions and attempts are reported to UKM. Note: the triggering outcome metrics can be derived from the Precog UKMs but a UMA histogram can answer them much more directly. Bug: 1406238 Change-Id: If1742b1e3a0cf2803c614d2c4c7d0cbe610057ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4149348 Reviewed-by: Sreeja Kamishetty <sreejakshetty@chromium.org> Reviewed-by: Ryan Sturm <ryansturm@chromium.org> Reviewed-by: Simon Pelchat <spelchat@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Commit-Queue: William Liu <liuwilliam@chromium.org> Cr-Commit-Position: refs/heads/main@{#1095788}
- Loading branch information
William Liu
authored and
Chromium LUCI CQ
committed
Jan 23, 2023
1 parent
718d899
commit 238a9e5
Showing
46 changed files
with
536 additions
and
266 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
Oops, something went wrong.