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

Issue 2986453002: Trace the stats report as JSON instead of each stat separately. (Closed)

Created:
3 years, 5 months ago by ehmaldonado_webrtc
Modified:
3 years, 4 months ago
Reviewers:
tommi, hbos
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Trace the stats report as JSON instead of each stat separately. Trace the whole report as a string instead of each field on it's own. And test that the traces collected are valid. R=tommi@webrtc.org, hbos@webrtc.org BUG=chromium:653087 Review-Url: https://codereview.webrtc.org/2986453002 Cr-Commit-Position: refs/heads/master@{#19341} Committed: https://chromium.googlesource.com/external/webrtc/+/80c65780e618f90369295fe5daf8075e9b374c26

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 6

Patch Set 3 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -35 lines) Patch
M webrtc/pc/rtcstats_integrationtest.cc View 1 2 5 chunks +53 lines, -13 lines 0 comments Download
M webrtc/pc/rtcstatscollector.cc View 2 chunks +2 lines, -22 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
ehmaldonado_webrtc
PTAL
3 years, 4 months ago (2017-08-11 20:12:27 UTC) #13
hbos
https://codereview.webrtc.org/2986453002/diff/60001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2986453002/diff/60001/webrtc/pc/rtcstats_integrationtest.cc#newcode38 webrtc/pc/rtcstats_integrationtest.cc:38: return reinterpret_cast<const unsigned char*>("\0"); All string literals are null-terminated, ...
3 years, 4 months ago (2017-08-14 13:15:39 UTC) #14
ehmaldonado_webrtc
Does this look good? https://codereview.webrtc.org/2986453002/diff/60001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2986453002/diff/60001/webrtc/pc/rtcstats_integrationtest.cc#newcode38 webrtc/pc/rtcstats_integrationtest.cc:38: return reinterpret_cast<const unsigned char*>("\0"); On ...
3 years, 4 months ago (2017-08-14 13:43:25 UTC) #15
hbos
lgtm https://codereview.webrtc.org/2986453002/diff/80001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2986453002/diff/80001/webrtc/pc/rtcstats_integrationtest.cc#newcode43 webrtc/pc/rtcstats_integrationtest.cc:43: class RTCStatsTracedReport { nit: Maybe RTCStatsReportTraceListener is a ...
3 years, 4 months ago (2017-08-14 15:49:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2986453002/100001
3 years, 4 months ago (2017-08-14 16:13:54 UTC) #19
ehmaldonado_webrtc
https://codereview.webrtc.org/2986453002/diff/80001/webrtc/pc/rtcstats_integrationtest.cc File webrtc/pc/rtcstats_integrationtest.cc (right): https://codereview.webrtc.org/2986453002/diff/80001/webrtc/pc/rtcstats_integrationtest.cc#newcode43 webrtc/pc/rtcstats_integrationtest.cc:43: class RTCStatsTracedReport { On 2017/08/14 15:49:23, hbos wrote: > ...
3 years, 4 months ago (2017-08-14 16:14:08 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:100001) as https://chromium.googlesource.com/external/webrtc/+/80c65780e618f90369295fe5daf8075e9b374c26
3 years, 4 months ago (2017-08-14 16:51:35 UTC) #23
mbonadei
3 years, 4 months ago (2017-08-15 06:47:49 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:100001) has been created in
https://codereview.webrtc.org/3001683002/ by mbonadei@webrtc.org.

The reason for reverting is: It breaks a downstream project..

Powered by Google App Engine
This is Rietveld 408576698