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

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

Issue 2337063003: [Extensions] Add metrics for asynchronous port creation (Closed)
Patch Set: Rebase Created 4 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 | « extensions/renderer/extension_frame_helper.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 88c1b2bbb12822ed12e1355e49902b24f5623436..a9dc7edee0fab316532fa64e71fb635e3df6a17a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -15965,6 +15965,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>The manifest version of each loaded extension.</summary>
</histogram>
+<histogram name="Extensions.Messaging.GetPortIdAsyncTime" units="ms">
+ <owner>rdevlin.cronin@chromium.org</owner>
+ <summary>
+ The total amount of time between when an extension opens a new channel and
+ when it receives the global port id from the browser and can begin sending
+ messages.
+ </summary>
+</histogram>
+
<histogram name="Extensions.Messaging.GetPortIdSyncTime" units="ms">
<owner>rdevlin.cronin@chromium.org</owner>
<summary>
@@ -101215,6 +101224,7 @@ To add a new entry, add it with any value and run test to compute valid value.
<suffix name="Extension" label="A port opened to an extension context."/>
<suffix name="NativeApp" label="A port opened to a native application."/>
<suffix name="Tab" label="A port opened to a tab context."/>
+ <affected-histogram name="Extensions.Messaging.GetPortIdAsyncTime"/>
<affected-histogram name="Extensions.Messaging.GetPortIdSyncTime"/>
</histogram_suffixes>
« no previous file with comments | « extensions/renderer/extension_frame_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698