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

Issue 2222113003: Add UMA to net::BidirectionalStream (Closed)

Created:
4 years, 4 months ago by xunjieli
Modified:
4 years, 4 months ago
Reviewers:
mef, Ilya Sherman
CC:
asvitkine+watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to net::BidirectionalStream Add UMA logging to track the following six metrics in net::BidirectionalStream: (1) time to reading first byte is allowed (2) time to reading last byte (3) time to sending first byte is allowed (4) time to sending last byte (5) number of bytes received (6) number of bytes sent BUG=635548 Committed: https://crrev.com/d58621f529528a45a3f1f4309f9bc37a1e2005b8 Cr-Commit-Position: refs/heads/master@{#411713}

Patch Set 1 #

Patch Set 2 : self review #

Patch Set 3 : self review #

Total comments: 10

Patch Set 4 : address comments #

Total comments: 9

Patch Set 5 : Use milliseconds and address other comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -1 line) Patch
M net/http/bidirectional_stream.h View 1 2 3 4 3 chunks +9 lines, -0 lines 3 comments Download
M net/http/bidirectional_stream.cc View 1 2 3 4 10 chunks +48 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
xunjieli
mef@: PTAL * isherman@: PTAL histograms.xml. Thanks!
4 years, 4 months ago (2016-08-08 19:45:16 UTC) #2
Ilya Sherman
https://codereview.chromium.org/2222113003/diff/40001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2222113003/diff/40001/net/http/bidirectional_stream.cc#newcode402 net/http/bidirectional_stream.cc:402: UMA_HISTOGRAM_TIMES("BidirectionalStream.HTTP2.TimeToResponseStart", Would it be appropriate to prefix these histogram ...
4 years, 4 months ago (2016-08-08 22:26:37 UTC) #9
xunjieli
Thanks for the review! Talked to mef@ offline, and we added two more metrics to ...
4 years, 4 months ago (2016-08-09 20:31:28 UTC) #11
mef
Looks pretty goood. Please also update description with proper ordinals. https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc#newcode153 ...
4 years, 4 months ago (2016-08-10 01:05:20 UTC) #12
Ilya Sherman
https://codereview.chromium.org/2222113003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2222113003/diff/40001/tools/metrics/histograms/histograms.xml#newcode3627 tools/metrics/histograms/histograms.xml:3627: +<histogram name="BidirectionalStream.TimeToResponseEnd" units="microseconds"> On 2016/08/09 20:31:28, xunjieli wrote: > ...
4 years, 4 months ago (2016-08-10 05:49:35 UTC) #13
xunjieli
Thanks for the review! For some reason, presubmit still gives me the following warnings. Any ...
4 years, 4 months ago (2016-08-11 12:50:40 UTC) #15
mef
https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc#newcode407 net/http/bidirectional_stream.cc:407: UMA_HISTOGRAM_TIMES("Net.BidirectionalStream.HTTP2.TimeToReadStart", On 2016/08/11 12:50:40, xunjieli wrote: > On 2016/08/10 ...
4 years, 4 months ago (2016-08-11 15:42:19 UTC) #16
Ilya Sherman
Metrics lgtm, thanks. https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc#newcode407 net/http/bidirectional_stream.cc:407: UMA_HISTOGRAM_TIMES("Net.BidirectionalStream.HTTP2.TimeToReadStart", On 2016/08/11 15:42:19, mef wrote: ...
4 years, 4 months ago (2016-08-11 18:48:46 UTC) #17
xunjieli
Thanks for the review! https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/2222113003/diff/60001/net/http/bidirectional_stream.cc#newcode407 net/http/bidirectional_stream.cc:407: UMA_HISTOGRAM_TIMES("Net.BidirectionalStream.HTTP2.TimeToReadStart", On 2016/08/11 18:48:46, Ilya ...
4 years, 4 months ago (2016-08-11 19:37:09 UTC) #18
mef
lgtm https://codereview.chromium.org/2222113003/diff/80001/net/http/bidirectional_stream.h File net/http/bidirectional_stream.h (right): https://codereview.chromium.org/2222113003/diff/80001/net/http/bidirectional_stream.h#newcode249 net/http/bidirectional_stream.h:249: base::TimeTicks start_time_; On 2016/08/11 19:37:09, xunjieli wrote: > ...
4 years, 4 months ago (2016-08-12 15:44:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2222113003/80001
4 years, 4 months ago (2016-08-12 17:06:30 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-12 18:33:20 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 18:35:37 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d58621f529528a45a3f1f4309f9bc37a1e2005b8
Cr-Commit-Position: refs/heads/master@{#411713}

Powered by Google App Engine
This is Rietveld 408576698