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

Issue 2750413002: Improve stability of the echo detector complexity perf tests. (Closed)

Created:
3 years, 9 months ago by ivoc
Modified:
3 years, 9 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, Andrew MacDonald, aleloi, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Improve stability of the echo detector complexity perf tests. The results of the echo detector complexity tests are currently notoriously spiky and unreliable. The following improvements are made in this CL: - Significantly longer warmup time before starting the test - More iterations and larger batches - Different number of iterations for slow and fast tests - Use the echo likelihood in the test so it cannot get optimized out BUG=webrtc:7353 Review-Url: https://codereview.webrtc.org/2750413002 Cr-Commit-Position: refs/heads/master@{#17303} Committed: https://chromium.googlesource.com/external/webrtc/+/1973ba6ef4909aad7c8bce307d8bf4180ce677fe

Patch Set 1 #

Total comments: 11

Patch Set 2 : Review comments. #

Total comments: 12

Patch Set 3 : More review comments. #

Patch Set 4 : Fixed mistake in previous patchset. #

Patch Set 5 : Changed int to size_t. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -29 lines) Patch
M webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc View 1 6 chunks +35 lines, -20 lines 0 comments Download
M webrtc/modules/audio_processing/test/performance_timer.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/performance_timer.cc View 1 2 3 4 1 chunk +25 lines, -9 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
ivoc
Hi Henrik, PTAL.
3 years, 9 months ago (2017-03-16 17:07:36 UTC) #4
hlundin-webrtc
Nice. But I have some suggestions for you. https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc File webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc (right): https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc#newcode29 webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc:29: const ...
3 years, 9 months ago (2017-03-17 08:48:03 UTC) #6
ivoc
https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc File webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc (right): https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc#newcode29 webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc:29: const size_t kNumFramesToProcess = 20000; On 2017/03/17 08:48:03, hlundin-webrtc ...
3 years, 9 months ago (2017-03-17 13:53:20 UTC) #7
hlundin-webrtc
Good. Now some comments on performance_timer.cc. https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc File webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc (right): https://codereview.webrtc.org/2750413002/diff/1/webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc#newcode49 webrtc/modules/audio_processing/residual_echo_detector_complexity_unittest.cc:49: test::PerformanceTimer timer(kNumFramesToProcessStandalone / ...
3 years, 9 months ago (2017-03-17 14:16:37 UTC) #8
ivoc
https://codereview.webrtc.org/2750413002/diff/20001/webrtc/modules/audio_processing/test/performance_timer.cc File webrtc/modules/audio_processing/test/performance_timer.cc (right): https://codereview.webrtc.org/2750413002/diff/20001/webrtc/modules/audio_processing/test/performance_timer.cc#newcode47 webrtc/modules/audio_processing/test/performance_timer.cc:47: int number_of_warmup_samples) const { On 2017/03/17 14:16:37, hlundin-webrtc wrote: ...
3 years, 9 months ago (2017-03-17 15:14:48 UTC) #9
ivoc
https://codereview.webrtc.org/2750413002/diff/20001/webrtc/modules/audio_processing/test/performance_timer.cc File webrtc/modules/audio_processing/test/performance_timer.cc (right): https://codereview.webrtc.org/2750413002/diff/20001/webrtc/modules/audio_processing/test/performance_timer.cc#newcode64 webrtc/modules/audio_processing/test/performance_timer.cc:64: double variance = std::accumulate( On 2017/03/17 15:14:47, ivoc wrote: ...
3 years, 9 months ago (2017-03-17 15:16:35 UTC) #10
hlundin-webrtc
lgtm
3 years, 9 months ago (2017-03-20 08:36:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2750413002/60001
3 years, 9 months ago (2017-03-20 09:00:39 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/23884)
3 years, 9 months ago (2017-03-20 09:13:55 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2750413002/80001
3 years, 9 months ago (2017-03-20 09:20:13 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 10:03:22 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/1973ba6ef4909aad7c8bce307...

Powered by Google App Engine
This is Rietveld 408576698