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

Issue 1742323002: VCMCodecTimer: Change filter from max to 95th percentile (Closed)

Created:
4 years, 9 months ago by magjed_webrtc
Modified:
4 years, 9 months ago
Reviewers:
philipel, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

VCMCodecTimer: Change filter from max to 95th percentile The purpose with this change is to make the filter more robust against anomalies. googMaxDecodeMs is expected to drop a litte by this. BUG=b/27306053 Committed: https://crrev.com/4bf0c717740d1834e810ea5f32b3c4306c64235f Cr-Commit-Position: refs/heads/master@{#11952}

Patch Set 1 : #

Patch Set 2 : Fix off-by-one bug #

Total comments: 20

Patch Set 3 : Addressing philipel@s comments #

Total comments: 4

Patch Set 4 : Rename 'max decode time' to 'required decode time' #

Total comments: 8

Patch Set 5 : Addressing stefan@s comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -117 lines) Patch
M webrtc/modules/modules.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codec_timer.h View 1 2 3 4 1 chunk +19 lines, -25 lines 2 comments Download
M webrtc/modules/video_coding/codec_timer.cc View 1 2 3 4 1 chunk +29 lines, -69 lines 0 comments Download
A webrtc/modules/video_coding/percentile_filter.h View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/percentile_filter.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/percentile_filter_unittest.cc View 1 2 1 chunk +104 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/timing.h View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/timing.cc View 1 2 3 4 10 chunks +20 lines, -18 lines 0 comments Download
M webrtc/modules/video_coding/timing_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/video_coding.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
magjed_webrtc
stefan - Please take a look. If you approve of this CL, I will add ...
4 years, 9 months ago (2016-02-29 16:20:26 UTC) #6
magjed_webrtc
Ping.
4 years, 9 months ago (2016-03-03 11:30:39 UTC) #7
stefan-webrtc
philip, could you take a look at this CL?
4 years, 9 months ago (2016-03-03 11:32:12 UTC) #9
philipel
I think it would be good if you added some unittests for the percentile filter ...
4 years, 9 months ago (2016-03-03 13:34:31 UTC) #10
magjed_webrtc
Please take another look. https://codereview.webrtc.org/1742323002/diff/80001/webrtc/modules/video_coding/codec_timer.cc File webrtc/modules/video_coding/codec_timer.cc (right): https://codereview.webrtc.org/1742323002/diff/80001/webrtc/modules/video_coding/codec_timer.cc#newcode16 webrtc/modules/video_coding/codec_timer.cc:16: static const int32_t kIgnoredSampleCount = ...
4 years, 9 months ago (2016-03-04 14:19:41 UTC) #12
philipel
https://codereview.webrtc.org/1742323002/diff/80001/webrtc/modules/video_coding/codec_timer.h File webrtc/modules/video_coding/codec_timer.h (right): https://codereview.webrtc.org/1742323002/diff/80001/webrtc/modules/video_coding/codec_timer.h#newcode33 webrtc/modules/video_coding/codec_timer.h:33: int32_t RequiredDecodeTimeMs(FrameType frameType) const; On 2016/03/04 14:19:41, magjed_webrtc wrote: ...
4 years, 9 months ago (2016-03-04 15:20:13 UTC) #13
magjed_webrtc
https://codereview.webrtc.org/1742323002/diff/120001/webrtc/modules/video_coding/codec_timer.cc File webrtc/modules/video_coding/codec_timer.cc (right): https://codereview.webrtc.org/1742323002/diff/120001/webrtc/modules/video_coding/codec_timer.cc#newcode18 webrtc/modules/video_coding/codec_timer.cc:18: static const int kIgnoredSampleCount = 5; On 2016/03/04 15:20:13, ...
4 years, 9 months ago (2016-03-07 07:38:14 UTC) #17
philipel
lgtm
4 years, 9 months ago (2016-03-07 14:09:38 UTC) #18
stefan-webrtc
https://codereview.webrtc.org/1742323002/diff/160001/webrtc/modules/video_coding/codec_timer.h File webrtc/modules/video_coding/codec_timer.h (right): https://codereview.webrtc.org/1742323002/diff/160001/webrtc/modules/video_coding/codec_timer.h#newcode30 webrtc/modules/video_coding/codec_timer.h:30: void Reset(); Maybe we should remove this method and ...
4 years, 9 months ago (2016-03-07 14:48:59 UTC) #19
magjed_webrtc
https://codereview.webrtc.org/1742323002/diff/160001/webrtc/modules/video_coding/codec_timer.h File webrtc/modules/video_coding/codec_timer.h (right): https://codereview.webrtc.org/1742323002/diff/160001/webrtc/modules/video_coding/codec_timer.h#newcode30 webrtc/modules/video_coding/codec_timer.h:30: void Reset(); On 2016/03/07 14:48:59, stefan-webrtc (holmer) wrote: > ...
4 years, 9 months ago (2016-03-08 15:49:42 UTC) #20
stefan-webrtc
https://codereview.webrtc.org/1742323002/diff/180001/webrtc/modules/video_coding/codec_timer.h File webrtc/modules/video_coding/codec_timer.h (right): https://codereview.webrtc.org/1742323002/diff/180001/webrtc/modules/video_coding/codec_timer.h#newcode43 webrtc/modules/video_coding/codec_timer.h:43: std::queue<Sample> history_; I haven't looked at the details of ...
4 years, 9 months ago (2016-03-08 16:07:48 UTC) #21
magjed_webrtc
https://codereview.webrtc.org/1742323002/diff/180001/webrtc/modules/video_coding/codec_timer.h File webrtc/modules/video_coding/codec_timer.h (right): https://codereview.webrtc.org/1742323002/diff/180001/webrtc/modules/video_coding/codec_timer.h#newcode43 webrtc/modules/video_coding/codec_timer.h:43: std::queue<Sample> history_; On 2016/03/08 16:07:48, stefan-webrtc (holmer) wrote: > ...
4 years, 9 months ago (2016-03-10 09:14:09 UTC) #22
stefan-webrtc
lgtm
4 years, 9 months ago (2016-03-10 14:26:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742323002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742323002/180001
4 years, 9 months ago (2016-03-10 14:45:13 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/9717)
4 years, 9 months ago (2016-03-10 15:22:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742323002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742323002/180001
4 years, 9 months ago (2016-03-11 09:15:38 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 9 months ago (2016-03-11 10:15:13 UTC) #32
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/4bf0c717740d1834e810ea5f32b3c4306c64235f Cr-Commit-Position: refs/heads/master@{#11952}
4 years, 9 months ago (2016-03-11 10:15:18 UTC) #34
magjed_webrtc
4 years, 9 months ago (2016-03-16 12:38:06 UTC) #35
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:180001) has been created in
https://codereview.webrtc.org/1808693002/ by magjed@webrtc.org.

The reason for reverting is: Caused unexpected perf stats changes, see
http://crbug/594575..

Powered by Google App Engine
This is Rietveld 408576698