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

Issue 537573002: Adding Media.InputStreamDuration to UMA histograms for low-latency input audio streams (Closed)

Created:
6 years, 3 months ago by henrika (OOO until Aug 14)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding Media.InputStreamDuration to UMA histograms for low-latency input audio streams. My idea was that the histogram could show if we do a very large number of short calls and how the length of the streams are related to the length of AudioTracks. If so, we might have issues in WebRTC clients or in how we create/destroy the input streams. BUG=405449 TEST=Manual testing using WebRTC clients. Committed: https://crrev.com/f3a8a0562e1ff412ee0d3a58ab119e92b787fd07 Cr-Commit-Position: refs/heads/master@{#293496}

Patch Set 1 #

Total comments: 6

Patch Set 2 : adding the XML part #

Patch Set 3 : Now uses base::StringPrintf #

Patch Set 4 : Now builds on all platforms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
M media/audio/audio_input_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_input_controller.cc View 1 2 3 3 chunks +16 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
henrika (OOO until Aug 14)
Adding more UMA where I measure the total length of each low-latency input stream. Goal ...
6 years, 3 months ago (2014-09-03 13:38:01 UTC) #2
henrika (OOO until Aug 14)
Plan was to add the XML-part when this initial phase is done.
6 years, 3 months ago (2014-09-03 13:38:31 UTC) #3
tommi (sloooow) - chröme
On 2014/09/03 13:38:31, henrika wrote: > Plan was to add the XML-part when this initial ...
6 years, 3 months ago (2014-09-03 13:47:19 UTC) #4
tommi (sloooow) - chröme
https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc#newcode358 media/audio/audio_input_controller.cc:358: std::ostringstream oss; use StringPrintf (stringstream should only be used ...
6 years, 3 months ago (2014-09-03 13:50:03 UTC) #5
henrika (OOO until Aug 14)
I did not want to add XML resource if you guys are not OK the ...
6 years, 3 months ago (2014-09-03 13:50:19 UTC) #6
tommi (sloooow) - chröme
ah. can you add to the description what the benefit will be? If this will ...
6 years, 3 months ago (2014-09-03 13:54:29 UTC) #7
henrika (OOO until Aug 14)
LOL, well, I try not to add noise ;-) My idea was that the histogram ...
6 years, 3 months ago (2014-09-03 14:01:57 UTC) #8
tommi (sloooow) - chröme
On 2014/09/03 14:01:57, henrika wrote: > LOL, well, I try not to add noise ;-) ...
6 years, 3 months ago (2014-09-03 14:43:06 UTC) #9
Henrik Grunell
What's the "XML part"? https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc#newcode356 media/audio/audio_input_controller.cc:356: UMA_HISTOGRAM_LONG_TIMES("Media.InputStreamDuration", duration); I think it ...
6 years, 3 months ago (2014-09-04 06:32:18 UTC) #10
Henrik Grunell
On 2014/09/04 06:32:18, Henrik Grunell wrote: > What's the "XML part"? Haha, you mean histograms.xml. ...
6 years, 3 months ago (2014-09-04 08:32:08 UTC) #11
Henrik Grunell
LGTM
6 years, 3 months ago (2014-09-04 08:32:35 UTC) #12
henrika (OOO until Aug 14)
Comments and questions only. https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc#newcode356 media/audio/audio_input_controller.cc:356: UMA_HISTOGRAM_LONG_TIMES("Media.InputStreamDuration", duration); Discussed off-line. Henrik ...
6 years, 3 months ago (2014-09-04 12:27:37 UTC) #13
henrika (OOO until Aug 14)
Adding asvitkine@ for input on the XML part. Thanks for checking.
6 years, 3 months ago (2014-09-04 12:43:27 UTC) #15
henrika (OOO until Aug 14)
Fix based on feedback from Tommi. https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc#newcode358 media/audio/audio_input_controller.cc:358: std::ostringstream oss; On ...
6 years, 3 months ago (2014-09-04 12:54:13 UTC) #16
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-04 12:56:23 UTC) #17
tommi (sloooow) - chröme
https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc File media/audio/audio_input_controller.cc (right): https://codereview.chromium.org/537573002/diff/1/media/audio/audio_input_controller.cc#newcode358 media/audio/audio_input_controller.cc:358: std::ostringstream oss; On 2014/09/04 12:27:37, henrika wrote: > I ...
6 years, 3 months ago (2014-09-04 16:53:21 UTC) #18
tommi (sloooow) - chröme
lgtm
6 years, 3 months ago (2014-09-04 16:54:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/537573002/40001
6 years, 3 months ago (2014-09-04 17:02:50 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/2237) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/12317)
6 years, 3 months ago (2014-09-04 18:31:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/henrika@chromium.org/537573002/60001
6 years, 3 months ago (2014-09-05 09:30:50 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as efab4b23c4a30c37c25c42259ec5d410a882ed15
6 years, 3 months ago (2014-09-05 10:35:32 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:38:41 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f3a8a0562e1ff412ee0d3a58ab119e92b787fd07
Cr-Commit-Position: refs/heads/master@{#293496}

Powered by Google App Engine
This is Rietveld 408576698