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

Issue 577953002: Adds time measurement of WebRtcAudioRenderer::Render (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, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds time measurement of AudioOutputDevice::AudioThreadCallback::Process BUG=NONE TEST=Manually tested WebRTC clients and verified new UMA after close. Committed: https://crrev.com/bfae635632bc062c0a56f5ed525390c82ed5c6cc Cr-Commit-Position: refs/heads/master@{#295707}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 3

Patch Set 3 : Moved UMA to WebRTC and reduced frequency #

Patch Set 4 : Renamed histogram #

Total comments: 2

Patch Set 5 : Feedback from xians@ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M content/renderer/media/webrtc_audio_renderer.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc_audio_renderer.cc View 1 2 3 4 5 chunks +15 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +8 lines, -0 lines 1 comment Download

Messages

Total messages: 23 (4 generated)
henrika (OOO until Aug 14)
Just an idea to get a better view of on which platforms we have render-side ...
6 years, 3 months ago (2014-09-17 13:52:11 UTC) #2
tommi (sloooow) - chröme
lgtm
6 years, 3 months ago (2014-09-17 14:06:56 UTC) #3
henrika (OOO until Aug 14)
+Alexei for the XML-part.
6 years, 3 months ago (2014-09-17 14:23:34 UTC) #5
Alexei Svitkine (slow)
lgtm
6 years, 3 months ago (2014-09-17 14:24:42 UTC) #6
no longer working on chromium
Do you really want to log each callback for all clients? The numbers might not ...
6 years, 3 months ago (2014-09-17 14:28:39 UTC) #7
no longer working on chromium
https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc File media/audio/audio_output_device.cc (right): https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc#newcode294 media/audio/audio_output_device.cc:294: SCOPED_UMA_HISTOGRAM_TIMER("Media.AudioOutputDevice.ProcessTime"); I would suggest moving the code to webrtc_audio_renderer.cc, ...
6 years, 3 months ago (2014-09-17 14:54:51 UTC) #8
henrika (OOO until Aug 14)
Good comments Shijing. Let me rethink and come back tomorrow.
6 years, 3 months ago (2014-09-17 14:59:49 UTC) #9
henrika (OOO until Aug 14)
https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc File media/audio/audio_output_device.cc (right): https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc#newcode294 media/audio/audio_output_device.cc:294: SCOPED_UMA_HISTOGRAM_TIMER("Media.AudioOutputDevice.ProcessTime"); I could move it but AFAIK it is ...
6 years, 3 months ago (2014-09-18 10:56:47 UTC) #10
henrika (OOO until Aug 14)
https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc File media/audio/audio_output_device.cc (right): https://codereview.chromium.org/577953002/diff/20001/media/audio/audio_output_device.cc#newcode294 media/audio/audio_output_device.cc:294: SCOPED_UMA_HISTOGRAM_TIMER("Media.AudioOutputDevice.ProcessTime"); Let me see if I can do something ...
6 years, 3 months ago (2014-09-18 11:03:16 UTC) #11
henrika (OOO until Aug 14)
6 years, 3 months ago (2014-09-18 11:53:46 UTC) #12
henrika (OOO until Aug 14)
xians@: PTAL
6 years, 3 months ago (2014-09-18 12:18:50 UTC) #14
no longer working on chromium
https://codereview.chromium.org/577953002/diff/80001/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (right): https://codereview.chromium.org/577953002/diff/80001/content/renderer/media/webrtc_audio_renderer.cc#newcode429 content/renderer/media/webrtc_audio_renderer.cc:429: base::TimeTicks start_time = base::TimeTicks::Now() ; Render() is triggered by ...
6 years, 3 months ago (2014-09-18 17:35:42 UTC) #15
henrika (OOO until Aug 14)
https://codereview.chromium.org/577953002/diff/80001/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (right): https://codereview.chromium.org/577953002/diff/80001/content/renderer/media/webrtc_audio_renderer.cc#newcode429 content/renderer/media/webrtc_audio_renderer.cc:429: base::TimeTicks start_time = base::TimeTicks::Now() ; Will move it to ...
6 years, 3 months ago (2014-09-19 13:13:54 UTC) #16
henrika (OOO until Aug 14)
xians, PTAL.
6 years, 3 months ago (2014-09-19 13:21:24 UTC) #17
no longer working on chromium
lgtm if you fix the name of the uma stat. https://codereview.chromium.org/577953002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/577953002/diff/100001/tools/metrics/histograms/histograms.xml#newcode37688 ...
6 years, 3 months ago (2014-09-19 13:51:37 UTC) #18
henrika (OOO until Aug 14)
Discussed off-line. WebRTC.AudioRenderTime is already in use (deprecated) and I did not dare removing it ...
6 years, 3 months ago (2014-09-19 13:58:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/577953002/100001
6 years, 3 months ago (2014-09-19 14:00:23 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:100001) as 12e2d0581135ea10bce420b0e368ea7a07f3769d
6 years, 3 months ago (2014-09-19 14:57:42 UTC) #22
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 14:58:31 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bfae635632bc062c0a56f5ed525390c82ed5c6cc
Cr-Commit-Position: refs/heads/master@{#295707}

Powered by Google App Engine
This is Rietveld 408576698