summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorwychen <wychen@chromium.org>2016-02-09 15:37:34 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-09 23:38:23 +0000
commit5f86476a1b978fddce1a101a26eaad0dc123e280 (patch)
treef901c23255c6a02d2f812032f4c103b5360ad662 /tools
parentdd77c2a41c72589d929db0592565125ca629fb2c (diff)
downloadchromium_src-5f86476a1b978fddce1a101a26eaad0dc123e280.zip
chromium_src-5f86476a1b978fddce1a101a26eaad0dc123e280.tar.gz
chromium_src-5f86476a1b978fddce1a101a26eaad0dc123e280.tar.bz2
Test distillability on all pages
Mobile-friendly pages were early terminated. Now we want to collect UMA for all pages. BUG=577833 Review URL: https://codereview.chromium.org/1612803002 Cr-Commit-Position: refs/heads/master@{#374530}
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 1567b02..8056a47 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -8872,6 +8872,10 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="DomDistiller.PageDistillable" enum="DistillableType">
+ <obsolete>
+ PageDistillableAfterLoading and PageDistillableAfterParsing provide more
+ details since 02/2016.
+ </obsolete>
<owner>cjhopman@chromium.org</owner>
<summary>
Records the &quot;Distillable Type&quot; (not distillable, mobile-friendly
@@ -8879,7 +8883,30 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DomDistiller.PageDistillableAfterLoading"
+ enum="DistillableType2">
+ <owner>wychen@chromium.org</owner>
+ <summary>
+ Records the &quot;Distillable Type&quot; (mobile-friendly not distillable,
+ mobile-friendly distillable, non-mobile-friendly not distillable,
+ non-mobile-friendly distillable) for each analyzed page after loading.
+ </summary>
+</histogram>
+
+<histogram name="DomDistiller.PageDistillableAfterParsing"
+ enum="DistillableType2">
+ <owner>wychen@chromium.org</owner>
+ <summary>
+ Records the &quot;Distillable Type&quot; (mobile-friendly not distillable,
+ mobile-friendly distillable, non-mobile-friendly not distillable,
+ non-mobile-friendly distillable) for each analyzed page after parsing.
+ </summary>
+</histogram>
+
<histogram name="DomDistiller.PageDistilledType" enum="DistillableType">
+ <obsolete>
+ Not collected anymore.
+ </obsolete>
<owner>cjhopman@chromium.org</owner>
<summary>
Records the &quot;Distillable Type&quot; (not distillable, mobile-friendly
@@ -61068,10 +61095,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<enum name="DistillableType" type="int">
<int value="0" label="Not distillable"/>
- <int value="1" label="Non-mobile-friendly Distillable"/>
+ <int value="1" label="Non-mobile-friendly distillable"/>
<int value="2" label="Mobile-friendly distillable"/>
</enum>
+<enum name="DistillableType2" type="int">
+ <int value="0" label="Non-mobile-friendly, not distillable"/>
+ <int value="1" label="Mobile-friendly, not distillable"/>
+ <int value="2" label="Non-mobile-friendly, distillable"/>
+ <int value="3" label="Mobile-friendly, distillable"/>
+</enum>
+
<enum name="DllHash" type="int">
<!-- Generated by chrome_elf/dll_hash/dll_hash_main.cc -->