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

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

Issue 2222113003: Add UMA to net::BidirectionalStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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
« net/http/bidirectional_stream.cc ('K') | « net/http/bidirectional_stream.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 9cd12ae7cb4aa277d187580ca00b95e3dcc5f82d..e223d3a0d8720477354a91f9e61a79e982558bc6 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -26683,6 +26683,47 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Net.BidirectionalStream.ReceivedBytes" units="bytes">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>Number of bytes received over this stream.</summary>
+</histogram>
+
+<histogram name="Net.BidirectionalStream.SentBytes" units="bytes">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>Number of bytes sent over this stream.</summary>
+</histogram>
+
+<histogram name="Net.BidirectionalStream.TimeToReadEnd" units="microseconds">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to reading the end of the
+ response.
+ </summary>
+</histogram>
+
+<histogram name="Net.BidirectionalStream.TimeToReadStart" units="microseconds">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to reading the start of the
+ response.
+ </summary>
+</histogram>
+
+<histogram name="Net.BidirectionalStream.TimeToSendEnd" units="microseconds">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to when the last byte is sent.
+ </summary>
+</histogram>
+
+<histogram name="Net.BidirectionalStream.TimeToSendStart" units="microseconds">
+ <owner>xunjieli@chromium.org</owner>
+ <summary>
+ How long it takes from starting the request to when we can start sending
+ data.
+ </summary>
+</histogram>
+
<histogram name="Net.CacheState.AllBytes">
<owner>ellyjones@chromium.org</owner>
<owner>rdsmith@chromium.org</owner>
@@ -98413,6 +98454,19 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="Navigation.TimeToURLJobStart"/>
</histogram_suffixes>
+<histogram_suffixes name="Net.BidirectionalStreamExperiment" separator="."
+ ordering="prefix">
+ <owner>xunjieli@chromium.org</owner>
+ <suffix name="QUIC" label="Bidirectional streams that use QUIC protocol"/>
+ <suffix name="HTTP2" label="Bidirectional stream that use HTTP2 protocol"/>
+ <affected-histogram name="Net.BidirectionalStream.ReceivedBytes"/>
+ <affected-histogram name="Net.BidirectionalStream.SentBytes"/>
+ <affected-histogram name="Net.BidirectionalStream.TimeToReadEnd"/>
+ <affected-histogram name="Net.BidirectionalStream.TimeToReadStart"/>
+ <affected-histogram name="Net.BidirectionalStream.TimeToSendEnd"/>
+ <affected-histogram name="Net.BidirectionalStream.TimeToSendStart"/>
+</histogram_suffixes>
+
<histogram_suffixes name="Net.QuicClientHelloRejectReasons.QuicIsSecureOrNot"
separator=".">
<owner>rtenneti@chromium.org</owner>
« net/http/bidirectional_stream.cc ('K') | « net/http/bidirectional_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698