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

Issue 2581813002: Measure WebAudio node constructor usage (Closed)

Created:
4 years ago by Raymond Toy
Modified:
4 years ago
Reviewers:
haraken, foolip, hongchan
CC:
chromium-reviews, blink-reviews, Raymond Toy, asvitkine+watch_chromium.org, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Measure WebAudio node constructor usage Just add "Measure" to every constructible webaudio object so that we can measure how often the constructors are used. We already have metrics for the corresponding factory methods, so this fills the gap between measuring the past and measuring the future. No other changes introduced. BUG=674693 TESTS=none Committed: https://crrev.com/f9a7e96b476a052615c9e7e32ec99d72a8f642d7 Cr-Commit-Position: refs/heads/master@{#439931}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase histograms #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ChannelMergerNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConvolverNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DelayNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/GainNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/IIRFilterNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/MediaElementAudioSourceNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/MediaStreamAudioSourceNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PannerNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PeriodicWave.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/StereoPannerNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperNode.idl View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
Raymond Toy
PTAL. foolip@ Is this the right way to measure the usage of the constructors? We'd ...
4 years ago (2016-12-16 17:11:29 UTC) #2
foolip
lgtm Yep, this is the simplest way.
4 years ago (2016-12-16 22:44:20 UTC) #3
Raymond Toy
PTAL at histograms.xml
4 years ago (2016-12-19 17:39:14 UTC) #5
hongchan
lgtm
4 years ago (2016-12-19 18:27:04 UTC) #8
haraken
histograms LGTM (I'm now observing a couple of CLs that are going to add "1701" ...
4 years ago (2016-12-20 00:19:53 UTC) #11
Raymond Toy
Yeah, I saw that. It's a race! On Mon, Dec 19, 2016 at 4:19 PM, ...
4 years ago (2016-12-20 00:20:54 UTC) #12
Raymond Toy
Yeah, I saw that. It's a race! On Mon, Dec 19, 2016 at 4:19 PM, ...
4 years ago (2016-12-20 00:20:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581813002/60001
4 years ago (2016-12-20 18:21:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/360070)
4 years ago (2016-12-20 22:01:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581813002/60001
4 years ago (2016-12-20 22:17:40 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-20 23:48:11 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-20 23:51:58 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f9a7e96b476a052615c9e7e32ec99d72a8f642d7
Cr-Commit-Position: refs/heads/master@{#439931}

Powered by Google App Engine
This is Rietveld 408576698