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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 505683004: Adding histogram for measuing custom font collection loading latency and count. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments. Created 6 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 952ad4de3eeccf448fb555f942a8285490373518..956368317bebeb4ae955e13a60d7c247d9806069 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -4083,6 +4083,33 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="DirectWrite.Fonts.Ignored">
+ <owner>shrikant@chromium.org</owner>
+ <summary>
+ Reports the total number of fonts that will be ignored while loading a
+ custom font collection. With current criteria fonts that are not in
+ system-font location will be ignored.
+ </summary>
+</histogram>
+
+<histogram name="DirectWrite.Fonts.Loaded">
+ <owner>shrikant@chromium.org</owner>
+ <summary>
+ Reports the total number of fonts to be loaded through a custom font
+ collection. This actually reports total font entries from registry excluding
+ font entries that point to non-system location.
+ </summary>
+</histogram>
+
+<histogram name="DirectWrite.Fonts.LoadTime" units="milliseconds">
+ <owner>shrikant@chromium.org</owner>
+ <summary>
+ Measures the total time spent in loading a custom font collection. We load
+ system fonts as a custom font collection to avoid any interaction with font
+ cache service from sandboxed renderer process.
+ </summary>
+</histogram>
+
<histogram name="DisabledExtension.ExtensionWipedStatus" enum="BooleanWiped">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>Whether an extension has been wiped out.</summary>
« 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