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

Issue 2383723002: Cache the subtype of each DecoderInfo to make the Is* checks quicker. (Closed)

Created:
4 years, 2 months ago by ossu
Modified:
4 years, 2 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Cache the subtype of each DecoderInfo to make the Is* checks quicker. Addresses a regression in the NetEq performance test. # Added NOTRY due to android_arm64_rel being swamped. NOTRY=True BUG=chromium:651426 Committed: https://crrev.com/9f38c218ee0282042e5bc31d3d3a1b1f53e4be16 Cr-Commit-Position: refs/heads/master@{#14495}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Make the DecoderInfo::Subtype enum 8 bits in size. #

Patch Set 3 : Since we're already shaving the pig... #

Patch Set 4 : Inline IsComfortNoise, IsDtmf and IsRed in DecoderInfo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -20 lines) Patch
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 2 3 2 chunks +21 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.cc View 1 2 3 4 chunks +20 lines, -17 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
ossu
Putting this up mainly for discussion. The recent change to DecoderDatabase caused a regression of ...
4 years, 2 months ago (2016-09-30 11:02:23 UTC) #2
kwiberg-webrtc
On 2016/09/30 11:02:23, ossu wrote: > Putting this up mainly for discussion. The recent change ...
4 years, 2 months ago (2016-09-30 11:27:04 UTC) #3
kwiberg-webrtc
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; Do you have to tell the compiler to ...
4 years, 2 months ago (2016-09-30 11:28:24 UTC) #4
ossu
On 2016/09/30 11:27:04, kwiberg-webrtc wrote: > On 2016/09/30 11:02:23, ossu wrote: > > Putting this ...
4 years, 2 months ago (2016-09-30 11:31:47 UTC) #5
ossu
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 11:28:24, kwiberg-webrtc wrote: > Do you ...
4 years, 2 months ago (2016-09-30 11:36:48 UTC) #6
kwiberg-webrtc
On 2016/09/30 11:31:47, ossu wrote: > On 2016/09/30 11:27:04, kwiberg-webrtc wrote: > > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 11:37:11 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 11:36:47, ossu wrote: > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 11:45:37 UTC) #10
ossu
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 11:45:37, kwiberg-webrtc wrote: > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 11:50:34 UTC) #11
kwiberg-webrtc
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 11:50:34, ossu wrote: > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 13:05:27 UTC) #12
ossu
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 13:05:27, kwiberg-webrtc wrote: > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 13:45:22 UTC) #15
kwiberg-webrtc
https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2383723002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode106 webrtc/modules/audio_coding/neteq/decoder_database.h:106: }; On 2016/09/30 13:45:21, ossu wrote: > On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 16:55:00 UTC) #20
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/2383723002/20001
4 years, 2 months ago (2016-10-03 08:34:08 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-10-03 10:34:25 UTC) #25
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/2383723002/40001
4 years, 2 months ago (2016-10-03 12:51:41 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 2 months ago (2016-10-03 14:52:13 UTC) #30
ossu
PTAL. Since the checkers are now so simple (just a comparison), I've inlined them for ...
4 years, 2 months ago (2016-10-03 14:56:14 UTC) #31
kwiberg-webrtc
You could implement them with vector instructions for even more speed. Or maybe use an ...
4 years, 2 months ago (2016-10-03 17:31:34 UTC) #32
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/2383723002/60001
4 years, 2 months ago (2016-10-04 08:39:56 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 2 months ago (2016-10-04 10:40:39 UTC) #36
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/2383723002/60001
4 years, 2 months ago (2016-10-04 12:15:18 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-04 12:23:35 UTC) #41
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 12:23:41 UTC) #43
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9f38c218ee0282042e5bc31d3d3a1b1f53e4be16
Cr-Commit-Position: refs/heads/master@{#14495}

Powered by Google App Engine
This is Rietveld 408576698