Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2516473002: Cross-origin iframes: collect data under hypothetical loading strategies (Closed)
Patch Set: just look below Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 41da607a2a839b3ac49e765536be5bbe99f622d7..0e433efcdb10704877c4287bd23e9f0591e2122f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -28138,6 +28138,9 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="Navigation.DeferredDocumentLoading.StatesV3"
enum="DocumentStateForDeferredLoadingV3">
+ <obsolete>
+ Deprecated 11/2016 in favor of Navigation.DeferredDocumentLoading.StatesV4.
+ </obsolete>
<owner>dgrogan@chromium.org</owner>
<summary>
Why and if cross-origin documents would be loaded if we were to defer
@@ -28147,6 +28150,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Navigation.DeferredDocumentLoading.StatesV4"
+ enum="DocumentStateForDeferredLoadingV4">
+ <owner>dgrogan@chromium.org</owner>
+ <summary>
+ Why and if cross-origin documents would be loaded if we were to defer
+ loading as long as possible. Changes from V3: replace detailed reasons with
+ summaries for four strategies. E.g. any document that would load under a
+ strategy of loading when a frame is two screens away is logged to the
+ WouldLoad2Screens AND WouldLoad3Screens bucket. We only record documents
+ below the current viewport, not to the right of it.
+ </summary>
+</histogram>
+
<histogram name="Navigation.EngagementTime.HTTP" units="ms">
<owner>felt@chromium.org</owner>
<summary>
@@ -80804,6 +80820,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="7" label="WouldLoadVisible"/>
</enum>
+<enum name="DocumentStateForDeferredLoadingV4" type="int">
+ <int value="0" label="Invalid"/>
+ <int value="1" label="Created"/>
+ <int value="2" label="WouldLoad3ScreensAway"/>
+ <int value="3" label="WouldLoad2ScreensAway"/>
+ <int value="4" label="WouldLoad1ScreensAway"/>
+ <int value="5" label="WouldVisible"/>
+ <int value="6" label="WouldLoadNoParent"/>
+</enum>
+
<enum name="DocumentWriteGatedEvaluation" type="int">
<int value="0" label="Script too long"/>
<int value="1" label="No likely external script write"/>

Powered by Google App Engine
This is Rietveld 408576698