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

Issue 1941123002: Add UMA for hardware buffer size and callback buffer size (Closed)

Created:
4 years, 7 months ago by Raymond Toy
Modified:
4 years, 7 months ago
Reviewers:
Mark P, hongchan
CC:
chromium-reviews, blink-reviews, kinuko+watch, hongchan, asvitkine+watch_chromium.org, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA for hardware buffer size and callback buffer size Measure and report the buffer size recommended by the hardware (for minimum latency) and the callback buffer size that is actually used. BUG=608510 TEST=manually create AudioContexts and examine chrome://histograms Committed: https://crrev.com/9e34ffef06ca462936f1d158130cff4843e943af Cr-Commit-Position: refs/heads/master@{#391528}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M third_party/WebKit/Source/platform/audio/AudioDestination.cpp View 1 3 chunks +16 lines, -1 line 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Raymond Toy
PTAL.
4 years, 7 months ago (2016-05-02 22:03:48 UTC) #2
hongchan
Nits on naming but lgtm. https://codereview.chromium.org/1941123002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): https://codereview.chromium.org/1941123002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode60 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:60: DEFINE_STATIC_LOCAL(SparseHistogram, audioHardwareBufferSizeHistogram, I think ...
4 years, 7 months ago (2016-05-03 20:34:49 UTC) #3
Raymond Toy
https://codereview.chromium.org/1941123002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): https://codereview.chromium.org/1941123002/diff/1/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode60 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:60: DEFINE_STATIC_LOCAL(SparseHistogram, audioHardwareBufferSizeHistogram, On 2016/05/03 20:34:49, hoch wrote: > I ...
4 years, 7 months ago (2016-05-03 21:12:15 UTC) #4
Raymond Toy
mpearson: PTAL at the histogram changes.
4 years, 7 months ago (2016-05-03 21:13:52 UTC) #6
Mark P
https://codereview.chromium.org/1941123002/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): https://codereview.chromium.org/1941123002/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode64 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:64: DEFINE_STATIC_LOCAL(SparseHistogram, callbackBufferSizeHistogram, Sparse histograms are slow. see here for ...
4 years, 7 months ago (2016-05-03 21:35:23 UTC) #7
Raymond Toy
https://codereview.chromium.org/1941123002/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp File third_party/WebKit/Source/platform/audio/AudioDestination.cpp (right): https://codereview.chromium.org/1941123002/diff/20001/third_party/WebKit/Source/platform/audio/AudioDestination.cpp#newcode64 third_party/WebKit/Source/platform/audio/AudioDestination.cpp:64: DEFINE_STATIC_LOCAL(SparseHistogram, callbackBufferSizeHistogram, On 2016/05/03 21:35:23, Mark P wrote: > ...
4 years, 7 months ago (2016-05-03 21:43:20 UTC) #8
Mark P
histograms.xml lgtm Thanks for the explanation. --mark
4 years, 7 months ago (2016-05-03 22:07:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1941123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1941123002/20001
4 years, 7 months ago (2016-05-03 22:15:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_gn/builds/29238)
4 years, 7 months ago (2016-05-03 22:19:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1941123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1941123002/20001
4 years, 7 months ago (2016-05-04 15:42:58 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-04 16:17:01 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 16:18:05 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9e34ffef06ca462936f1d158130cff4843e943af
Cr-Commit-Position: refs/heads/master@{#391528}

Powered by Google App Engine
This is Rietveld 408576698