Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index 2041dd4cb7ce57ca4dba3a1acfbd2c7c4ce3e738..ee82f7c86e0159d5f83e632ddbe72133d5945cac 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -16877,6 +16877,18 @@ 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.ExtensionPortsCreated" |
| + units="number of ports"> |
| + <owner>rdevlin.cronin@chromium.org</owner> |
| + <summary> |
| + The number of ports created in a given script context at a specific time. |
| + Recorded once at the destruction of the script context (when no more ports |
| + could be created) if and only if at least one port was created in the |
| + context. Only includes ports to extension contexts (i.e., not ports created |
| + to tabs or native apps). |
| + </summary> |
| +</histogram> |
| + |
| <histogram name="Extensions.Messaging.GetPortIdAsyncTime" units="ms"> |
| <owner>rdevlin.cronin@chromium.org</owner> |
| <summary> |
| @@ -106722,6 +106734,15 @@ value. |
| <affected-histogram name="Extensions.Functions.SucceededTime"/> |
| </histogram_suffixes> |
| +<histogram_suffixes name="ExtensionMessagingPortCreationTime" separator="."> |
| + <suffix name="Normal" label="Created during the normal frame lifetime."/> |
|
lazyboy
2016/11/11 01:39:17
Same nit here, expand "normal" in the label.
Devlin
2016/11/12 01:24:30
Done.
|
| + <suffix name="InBeforeUnload" |
| + label="Created during an event handler for the 'beforeunload' event."/> |
| + <suffix name="InUnload" |
| + label="Created during an event handler for the 'unload' event."/> |
| + <affected-histogram name="Extensions.Messaging.ExtensionPortsCreated"/> |
| +</histogram_suffixes> |
| + |
| <histogram_suffixes name="ExtensionMessagingPortType" separator="."> |
| <suffix name="Extension" label="A port opened to an extension context."/> |
| <suffix name="NativeApp" label="A port opened to a native application."/> |