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

Issue 560573002: Introduce new SPDY Version UMA histogram. (Closed)

Created:
6 years, 3 months ago by Bence
Modified:
6 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, cbentzel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Introduce new SPDY Version UMA histogram. The Net.SpdyVersion UMA histogram directly tracks internal NextProto enum values, which change, for example, when protocols are deprecated, e.g., https://chromium.googlesource.com/chromium/src/+/13621d68bc4096987471ec698468a972af2fa1de%5E%21/#F9. This CL obsoletes Net.SpdyVersion, and introduces Net.SpdyVersion2, which uses values that are specifically generated for this purpuse, with the intent that later versions will not change or reuse them. BUG=412495 Committed: https://crrev.com/f1c950543990d7048e2323c106a11350fe95ab15 Cr-Commit-Position: refs/heads/master@{#295053}

Patch Set 1 #

Patch Set 2 : Introduce new histogram with permanent values. #

Total comments: 4

Patch Set 3 : Make NextProto values permanent. #

Total comments: 4

Patch Set 4 : Use sparse histogram. #

Total comments: 2

Patch Set 5 : Expand histogram description. #

Patch Set 6 : Subtract kProtoSPDYMinimumVersion instead of using sparse histogram. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -15 lines) Patch
M net/socket/next_proto.h View 1 2 1 chunk +8 lines, -7 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +27 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (4 generated)
Bence
6 years, 3 months ago (2014-09-10 13:14:20 UTC) #2
Alexei Svitkine (slow)
It's unfortunate that we ended up with this mismatch. Can we make it so it's ...
6 years, 3 months ago (2014-09-10 14:55:16 UTC) #3
Bence
Alexei: Thank you for your suggestions. PTAL. rch: Please review changes in net. Note that ...
6 years, 3 months ago (2014-09-11 17:55:46 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h#newcode41 net/socket/next_proto.h:41: const unsigned int spdyProtoPermanentValueBoundary = 5; I suggest just ...
6 years, 3 months ago (2014-09-11 18:29:59 UTC) #6
Bence
https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h#newcode41 net/socket/next_proto.h:41: const unsigned int spdyProtoPermanentValueBoundary = 5; You're right, we ...
6 years, 3 months ago (2014-09-12 12:37:07 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h#newcode41 net/socket/next_proto.h:41: const unsigned int spdyProtoPermanentValueBoundary = 5; On 2014/09/12 12:37:07, ...
6 years, 3 months ago (2014-09-12 14:38:09 UTC) #8
Bence
PTAL. https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/560573002/diff/20001/net/socket/next_proto.h#newcode41 net/socket/next_proto.h:41: const unsigned int spdyProtoPermanentValueBoundary = 5; On 2014/09/12 ...
6 years, 3 months ago (2014-09-12 20:16:56 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/560573002/diff/60001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/560573002/diff/60001/net/spdy/spdy_session.cc#newcode723 net/spdy/spdy_session.cc:723: "Net.SpdyVersion2", protocol_, kProtoSPDYMaximumVersion + 1); Now that you're expanded ...
6 years, 3 months ago (2014-09-12 20:23:06 UTC) #11
Bence
PTAL https://codereview.chromium.org/560573002/diff/60001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/560573002/diff/60001/net/spdy/spdy_session.cc#newcode723 net/spdy/spdy_session.cc:723: "Net.SpdyVersion2", protocol_, kProtoSPDYMaximumVersion + 1); On 2014/09/12 20:23:06, ...
6 years, 3 months ago (2014-09-12 20:31:13 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/560573002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/560573002/diff/80001/tools/metrics/histograms/histograms.xml#newcode17384 tools/metrics/histograms/histograms.xml:17384: + The SPDY protocol version that is used to ...
6 years, 3 months ago (2014-09-12 21:14:30 UTC) #13
Alexei Svitkine (slow)
lgtm % my previous comment, thanks!
6 years, 3 months ago (2014-09-12 21:14:44 UTC) #14
Bence
Ryan: PTAL. Alexei: thank you. https://codereview.chromium.org/560573002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/560573002/diff/80001/tools/metrics/histograms/histograms.xml#newcode17384 tools/metrics/histograms/histograms.xml:17384: + The SPDY protocol ...
6 years, 3 months ago (2014-09-15 15:39:27 UTC) #15
Alexei Svitkine (slow)
LGTM
6 years, 3 months ago (2014-09-15 15:53:38 UTC) #16
Bence
Alexei: PTAL. Sorry to bother you again. Since the SPDY block within the enum is ...
6 years, 3 months ago (2014-09-15 21:00:36 UTC) #17
Ryan Hamilton
lgtm
6 years, 3 months ago (2014-09-15 21:37:29 UTC) #18
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-15 21:41:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/560573002/120001
6 years, 3 months ago (2014-09-16 12:55:21 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:120001) as 1829772cf8e40cc3f8786c467e1f3f101044e8ed
6 years, 3 months ago (2014-09-16 13:31:47 UTC) #22
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 13:33:31 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f1c950543990d7048e2323c106a11350fe95ab15
Cr-Commit-Position: refs/heads/master@{#295053}

Powered by Google App Engine
This is Rietveld 408576698