Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index 1043e5631c3993d0e32a18ba3388cdb14f3014aa..802584bc120d2aebe5b8ec681ebfe44a191451d7 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -63311,6 +63311,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| </summary> |
| </histogram> |
| +<histogram name="Style.LazyUsage.Percent" enum="LazyCSSParseUsage"> |
| + <owner>csharrison@chromium.org</owner> |
| + <summary> |
| + Tracks % of lazy rules that ended up needing to be parsed. Note that a |
| + stylesheet which uses all of its rules will log counts in every bucket. |
|
Ilya Sherman
2016/12/01 00:48:21
Please document precisely when this metric is reco
Ilya Sherman
2016/12/01 00:48:21
Hmm, why structure this to record to every bucket?
Charlie Harrison
2016/12/01 02:43:51
Yeah this would be ideal, but it is very hard to d
Charlie Harrison
2016/12/01 02:43:51
Done. We log as the rules are parsed.
Ilya Sherman
2016/12/01 05:10:54
Ah, okay, that makes sense. Fair enough -- thanks
|
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Style.UpdateTime" units="us"> |
| <owner>csharrison@chromium.org</owner> |
| <summary>Microseconds spent in Document::updateStyle.</summary> |
| @@ -91192,6 +91200,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
| <int value="268959744" label="NEW_TASK | NEW_DOCUMENT"/> |
| </enum> |
| +<enum name="LazyCSSParseUsage" type="int"> |
| + <int value="0" label=">= 0%"/> |
| + <int value="1" label="> 10%"/> |
| + <int value="2" label="> 25%"/> |
| + <int value="3" label="> 50%"/> |
| + <int value="4" label="> 75%"/> |
| + <int value="5" label="> 90%"/> |
| + <int value="6" label="= 100%"/> |
| +</enum> |
| + |
| <enum name="LevelDBCorruptionRestoreValue" type="int"> |
| <int value="0" label="Database Delete Success"/> |
| <int value="1" label="Database Delete Failure"/> |