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

Issue 600163004: Add two UMA counters for IPv4 and IPv6 local candidates gathered in WebRTC PeerConnection. (Closed)

Created:
6 years, 3 months ago by guoweis_left_chromium
Modified:
6 years, 2 months ago
CC:
vrk (LEFT CHROMIUM), Alexei Svitkine (slow), chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add two UMA counters for IPv4 and IPv6 local candidates gathered in WebRTC PeerConnection. Counter will be accumulated for each OnIceCandidate callback and report once the IceGathering is completed. BUG=411086 Committed: https://crrev.com/8fb8b1b7ffa66807f5313ccb367a9d4891dab404 Cr-Commit-Position: refs/heads/master@{#296965}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix the test case failure. #

Total comments: 2

Patch Set 3 : Reset for ice restarts and also only counts first component of first m line. #

Total comments: 1

Patch Set 4 : Remove the tracking of previous ice gathering state. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -6 lines) Patch
M content/renderer/media/rtc_peer_connection_handler.h View 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 2 3 3 chunks +27 lines, -1 line 0 comments Download
M content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
guoweis2
Victoria, could you review this change? The change is to hook up 2 new counters ...
6 years, 3 months ago (2014-09-25 05:14:33 UTC) #2
guoweis2
On 2014/09/25 05:14:33, guoweis2 wrote: > Victoria, could you review this change? The change is ...
6 years, 3 months ago (2014-09-25 06:20:23 UTC) #3
vrk (LEFT CHROMIUM)
lgtm
6 years, 3 months ago (2014-09-25 08:12:31 UTC) #5
vrk (LEFT CHROMIUM)
Adding asvitkine for histogram OWNERS
6 years, 3 months ago (2014-09-25 08:13:37 UTC) #8
Alexei Svitkine (slow)
LGTM % comment, thanks! https://codereview.chromium.org/600163004/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/600163004/diff/1/tools/metrics/histograms/histograms.xml#newcode37850 tools/metrics/histograms/histograms.xml:37850: + Number of IPv4 Candidates ...
6 years, 2 months ago (2014-09-25 15:10:52 UTC) #9
guoweis2
@sergeyu: could you OWNER review content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc?
6 years, 2 months ago (2014-09-25 19:46:10 UTC) #11
juberti2
https://codereview.chromium.org/600163004/diff/20001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/600163004/diff/20001/content/renderer/media/rtc_peer_connection_handler.cc#newcode980 content/renderer/media/rtc_peer_connection_handler.cc:980: num_local_candidates_ipv4_++; Need to reset this when gathering restarts
6 years, 2 months ago (2014-09-25 20:05:56 UTC) #13
juberti2
https://codereview.chromium.org/600163004/diff/20001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/600163004/diff/20001/content/renderer/media/rtc_peer_connection_handler.cc#newcode900 content/renderer/media/rtc_peer_connection_handler.cc:900: UMA_HISTOGRAM_COUNTS_100("WebRTC.PeerConnection.IPv4LocalCandidates", Remind me, is the goal to count all ...
6 years, 2 months ago (2014-09-25 20:10:43 UTC) #14
chromium-reviews
I plan to correlate this with TimeToConnect. Looking at the code, my understanding is it ...
6 years, 2 months ago (2014-09-25 20:20:53 UTC) #15
juberti2
On 2014/09/25 20:20:53, chromium-reviews wrote: > I plan to correlate this with TimeToConnect. Looking at ...
6 years, 2 months ago (2014-09-25 20:26:37 UTC) #16
chromium-reviews
I see. Please let me know if below sounds reasonable. 1. I'm going to naively ...
6 years, 2 months ago (2014-09-25 20:37:36 UTC) #17
juberti2
On 2014/09/25 20:37:36, chromium-reviews wrote: > I see. Please let me know if below sounds ...
6 years, 2 months ago (2014-09-25 20:43:28 UTC) #18
guoweis_left_chromium
On 2014/09/25 20:43:28, juberti2 wrote: > On 2014/09/25 20:37:36, chromium-reviews wrote: > > I see. ...
6 years, 2 months ago (2014-09-25 22:49:41 UTC) #19
juberti2
lgtm with the following change https://codereview.chromium.org/600163004/diff/40001/content/renderer/media/rtc_peer_connection_handler.cc File content/renderer/media/rtc_peer_connection_handler.cc (right): https://codereview.chromium.org/600163004/diff/40001/content/renderer/media/rtc_peer_connection_handler.cc#newcode905 content/renderer/media/rtc_peer_connection_handler.cc:905: } else if (ice_gathering_current_state_ ...
6 years, 2 months ago (2014-09-26 01:45:37 UTC) #20
chromium-reviews
I was concerned with the fact that we could have one IceGatheringGathering per component and ...
6 years, 2 months ago (2014-09-26 04:33:45 UTC) #21
chromium-reviews
Ok. I removed the tracking of the old state. In all my testing, all the ...
6 years, 2 months ago (2014-09-26 04:59:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600163004/60001
6 years, 2 months ago (2014-09-26 05:01:10 UTC) #24
juberti2
On 2014/09/26 05:01:10, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 2 months ago (2014-09-26 05:17:09 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/18199)
6 years, 2 months ago (2014-09-26 06:56:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/600163004/60001
6 years, 2 months ago (2014-09-26 16:29:26 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 5d17bf75ca70d1787dbac647925e804509191fc7
6 years, 2 months ago (2014-09-26 17:08:10 UTC) #30
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 17:08:46 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8fb8b1b7ffa66807f5313ccb367a9d4891dab404
Cr-Commit-Position: refs/heads/master@{#296965}

Powered by Google App Engine
This is Rietveld 408576698