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

Issue 1436553004: Created a test that reports the statistics for the duration of APM stream processing API calls. (Closed)

Created:
5 years, 1 month ago by peah-webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

A unittest that reports the statistics for the duration of an APM stream processing API call. BUG=webrtc:5099 Committed: https://crrev.com/880896ab0976bbf86a6753d0c900c70e51f421cb Cr-Commit-Position: refs/heads/master@{#10786} Committed: https://crrev.com/9fca7e18c3e74b9e24bd23d5f1ea29d989b9698f Cr-Commit-Position: refs/heads/master@{#11098}

Patch Set 1 #

Patch Set 2 : Various changes making the test test what is desired. #

Total comments: 58

Patch Set 3 : Changes in response to reviewer comments. As those required quite extensive refactoring, some more … #

Total comments: 40

Patch Set 4 : Changes according to latest reviewer comments #

Total comments: 4

Patch Set 5 : Renamed test file and moved to new build target #

Total comments: 2

Patch Set 6 : Moved to the correct build target #

Patch Set 7 : Fixed the condition for whether correct statistics can be produced #

Patch Set 8 : Cleaned up statistics computation according to reviewer comments #

Patch Set 9 : Added missing (redundant) return statement #

Patch Set 10 : Removed redundant const specifier that caused copy of the struct to fail #

Patch Set 11 : Added setting of the stream level in order to fix bot error #

Patch Set 12 : Reverted the two latest CL and replaced one of them by a RTC_NOTREACHED call #

Patch Set 13 : Changed AGC mode to the AdaptiveDigital that should work on all platforms without any additional AP… #

Patch Set 14 : Changed name for the ThreadWrapper to the new name PlatformThread and updated its include #

Patch Set 15 : Deactivated test not relevant for Android when running on Android #

Patch Set 16 : Changed the code to ensure that the threads are successfully stopped after the test is finished #

Patch Set 17 : Corrected the number of frames to process in the test #

Patch Set 18 : Updates to handle changes in external code used in this test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+727 lines, -0 lines) Patch
A webrtc/modules/audio_processing/audio_processing_performance_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +724 lines, -0 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (28 generated)
peah-webrtc
Created a unittest that reports the statistics for the duration of an APM stream processing ...
5 years, 1 month ago (2015-11-10 14:45:50 UTC) #4
peah-webrtc
Please hold on with reviewing. Some minor changes that significantly will affect the results will ...
5 years, 1 month ago (2015-11-11 10:56:42 UTC) #5
peah-webrtc
Now it is fully fine to review this again whenever you have the time.
5 years, 1 month ago (2015-11-12 13:59:03 UTC) #6
hlundin-webrtc
Nice. But I do have a few comments... :) https://codereview.webrtc.org/1436553004/diff/20001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc File webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc (right): https://codereview.webrtc.org/1436553004/diff/20001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc#newcode2 webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc:2: ...
5 years, 1 month ago (2015-11-13 12:18:32 UTC) #7
peah-webrtc
Changes in response to previous reviewer comments. As those anyway required quite extensive refactoring, some ...
5 years, 1 month ago (2015-11-18 10:27:27 UTC) #8
hlundin-webrtc
https://codereview.webrtc.org/1436553004/diff/40001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc File webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc (right): https://codereview.webrtc.org/1436553004/diff/40001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc#newcode42 webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc:42: // Variant of echo canceller settings to use in ...
5 years, 1 month ago (2015-11-18 12:43:31 UTC) #9
hlundin-webrtc
cc:kjellander@ to weigh in on my suggestion regarding gyp target for this performance test. https://codereview.webrtc.org/1436553004/diff/40001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc ...
5 years, 1 month ago (2015-11-18 13:14:06 UTC) #10
peah-webrtc
https://codereview.webrtc.org/1436553004/diff/40001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc File webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc (right): https://codereview.webrtc.org/1436553004/diff/40001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc#newcode42 webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc:42: // Variant of echo canceller settings to use in ...
5 years, 1 month ago (2015-11-18 14:11:33 UTC) #11
hlundin-webrtc
I think you introduced a bug in the code. And I'd like you to move ...
5 years, 1 month ago (2015-11-18 15:05:31 UTC) #12
kjellander_webrtc
webrtc/webrtc_tests.gypi: lgtm (adding to the existing perf test is the way to go).
5 years, 1 month ago (2015-11-18 15:40:14 UTC) #14
peah-webrtc
https://codereview.webrtc.org/1436553004/diff/60001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc File webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc (right): https://codereview.webrtc.org/1436553004/diff/60001/webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc#newcode309 webrtc/modules/audio_processing/audio_processing_lock_performance_unittest.cc:309: return (api_call_durations_.size() > (kNumInitializationFrames - 1) On 2015/11/18 15:05:31, ...
5 years, 1 month ago (2015-11-18 15:56:48 UTC) #15
hlundin-webrtc
Nice! lgtm (again).
5 years, 1 month ago (2015-11-18 16:10:05 UTC) #16
the sun
lgtm
5 years, 1 month ago (2015-11-20 10:41:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/140001
5 years, 1 month ago (2015-11-20 20:20:02 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_compile_dbg/builds/1292)
5 years, 1 month ago (2015-11-20 20:24:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/180001
5 years, 1 month ago (2015-11-21 22:14:43 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/9249)
5 years, 1 month ago (2015-11-21 22:47:41 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/220001
5 years, 1 month ago (2015-11-23 15:57:48 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/9238)
5 years, 1 month ago (2015-11-23 17:51:03 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/240001
5 years, 1 month ago (2015-11-23 22:06:04 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/3901)
5 years, 1 month ago (2015-11-24 00:27:36 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/240001
5 years, 1 month ago (2015-11-24 04:57:01 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/3906)
5 years, 1 month ago (2015-11-24 05:06:59 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/260001
5 years, 1 month ago (2015-11-24 06:32:08 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/3913)
5 years ago (2015-11-24 13:43:56 UTC) #46
kjellander_webrtc
On 2015/11/24 13:43:56, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-11-24 21:16:10 UTC) #47
peah-webrtc
On 2015/11/24 21:16:10, kjellander (webrtc) wrote: > On 2015/11/24 13:43:56, commit-bot: I haz the power ...
5 years ago (2015-11-24 22:20:23 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/280001
5 years ago (2015-11-25 09:45:09 UTC) #51
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years ago (2015-11-25 10:07:58 UTC) #52
commit-bot: I haz the power
Patchset 15 (id:??) landed as https://crrev.com/880896ab0976bbf86a6753d0c900c70e51f421cb Cr-Commit-Position: refs/heads/master@{#10786}
5 years ago (2015-11-25 10:08:06 UTC) #53
kjellander_webrtc
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.webrtc.org/1473733004/ by kjellander@webrtc.org. ...
5 years ago (2015-11-25 20:27:36 UTC) #54
peah-webrtc
Hi, I (think) I found the culprit for why the test took too long to ...
5 years ago (2015-11-26 21:52:29 UTC) #56
peah-webrtc
I checked up the the correctness of returning false from the thread main function when ...
5 years ago (2015-12-02 15:14:13 UTC) #57
hlundin-webrtc
LGTM on the diff between #15 and #17.
5 years ago (2015-12-14 09:28:21 UTC) #58
the sun
On 2015/12/14 09:28:21, hlundin-webrtc wrote: > LGTM on the diff between #15 and #17. No ...
5 years ago (2015-12-18 16:34:55 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436553004/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436553004/340001
5 years ago (2015-12-21 05:49:32 UTC) #62
commit-bot: I haz the power
Committed patchset #18 (id:340001)
5 years ago (2015-12-21 07:13:44 UTC) #64
commit-bot: I haz the power
5 years ago (2015-12-21 07:13:55 UTC) #66
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/9fca7e18c3e74b9e24bd23d5f1ea29d989b9698f
Cr-Commit-Position: refs/heads/master@{#11098}

Powered by Google App Engine
This is Rietveld 408576698