DescriptionFix NetEq performance test regression
The test code created an AudioBuffer object inside the work loop. This
turned out to be expensive, since the AudioBuffer ctor implicitly
called memset on all of the audio data array. The obvious remedy is to
create the buffer outside of the loop. This does not have any impact
apart from the performance boost, since the output data from NetEq is
not even considered in the test.
BUG=chromium:592907, webrtc:5647
TBR=ivoc@webrtc.org
NOTRY=true
Committed: https://crrev.com/d72595eeea4812f33bc7e23ec4c2bfcc99adac2f
Cr-Commit-Position: refs/heads/master@{#11940}
Patch Set 1 #
Messages
Total messages: 7 (4 generated)
|