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

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

Issue 23511012: Update histogram names for WebFont usage metrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 996f2986a39f4facca2fb45c387b314e9b35bdb0..35ed7570d9cd281f0cc08e4cbc62bbe6a6092349 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -17727,7 +17727,33 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="WebFont.Resource.StyleRecalcToDownloadLatency"
+ units="milliseconds">
+ <summary>
+ The time from when the webfont was referenced by a calculated style for the
+ first time to the start of the font download. Recorded at most once for each
+ FontResource object (not recorded if the font is retrieved from the memory
+ cache).
+ </summary>
+</histogram>
+
+<histogram name="WebFont.Resource.UsageType" enum="WebFontUsageType">
+ <summary>
+ For each webfont, this records (a) if the font was 'styled', i.e. referenced
+ by a calculated style for a RenderText before the font data was used, and
+ (b) if the font was actually used or not, i.e. the renderer requested the
+ font data or not. (A Font can be used without being styled, for example when
+ drawn by a Canvas 2D Context.) This is recorded upon a download request of a
+ webfont, or destruction of a FontResource object. Recorded at most once for
+ each FontResource object in the renderer's memory cahce.
+ </summary>
+</histogram>
+
<histogram name="WebFont.StyleRecalcToDownloadLatency" units="milliseconds">
+ <obsolete>
+ Deprecated as of 9/2013, replaced by
+ WebFont.Resource.StyleRecalcToDownloadLatency.
+ </obsolete>
<summary>
The time from when the webfont was referenced by a calculated style for the
first time to the start of the font download.
@@ -17735,6 +17761,9 @@ other types of suffix sets.
</histogram>
<histogram name="WebFont.UsageType" enum="WebFontUsageType">
+ <obsolete>
+ Deprecated as of 9/2013, replaced by WebFont.Resource.UsageType.
+ </obsolete>
<summary>
For each webfont, this records (a) if the font was 'styled', i.e. referenced
by a calculated style for a RenderText before the font data was used, and
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698