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

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

Issue 2102383002: [Extensions] Add metrics for API binding generation time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark's Created 4 years, 6 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 | « extensions/renderer/module_system.cc ('k') | 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 a53bca91f8c6299129c9169b700453711a41d404..1c7a4a9e3f5d20ac3629a0c78b74208282371ae8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -13653,6 +13653,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Extensions.ApiBindingGenerationTime" units="ms">
+ <owner>rdevlin.cronin@chromium.org</owner>
+ <summary>
+ The amount of time it takes to generate the JavaScript API bindings for a
+ particular extension API. This includes the time from when a JavaScript
+ context tries to access the API, triggering the lazy initializion, to the
+ time when the API object is returned. This is only recorded if the binding
+ is successfully generated. See also Extensions.DidCreateScriptContext_*.
+ </summary>
+</histogram>
+
<histogram name="Extensions.APIUse_RelativeURL" enum="UrlResolutionResult">
<obsolete>
Deprecated 04/2016 as doesn't have data nor owner.
« no previous file with comments | « extensions/renderer/module_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698