3 TLs: add full stack test for short pattern + base heavy alloc.

A previous CL split an existing field trial in two. This CL
ensures that we have perf coverage for the two interesting
cases: short pattern and short pattern + base heavy TL alloc.

Tested: autoninja -C out/Release; and out/Release/webrtc_perf_tests --gtest_filter="*3TL*"
Bug: chromium:893500
Change-Id: I0585d67860d8a10122793fa1336440c13ebd0c57
Reviewed-on: https://webrtc-review.googlesource.com/c/107561
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25304}
This commit is contained in:
Rasmus Brandt 2018-10-23 09:17:24 +02:00 committed by Commit Bot
parent 6ed37ba1b5
commit 3583693638

View File

@ -598,12 +598,35 @@ TEST(FullStackTest, ConferenceMotionHd3TLModerateLimitsAltTLPattern) {
AppendFieldTrials("WebRTC-UseShortVP8TL3Pattern/Enabled/"));
ParamsWithLogging conf_motion_hd;
conf_motion_hd.call.send_side_bwe = true;
conf_motion_hd.video[0] = {
true, 1280, 720, 50,
30000, 3000000, 3000000, false,
"VP8", 3, -1, 0,
false, false, false, "ConferenceMotion_1280_720_50"};
conf_motion_hd.analyzer = {"conference_motion_hd_3tl_alt_moderate_limits",
0.0, 0.0, kFullStackTestDurationSecs};
conf_motion_hd.config->queue_length_packets = 50;
conf_motion_hd.config->loss_percent = 3;
conf_motion_hd.config->queue_delay_ms = 100;
conf_motion_hd.config->link_capacity_kbps = 2000;
fixture->RunWithAnalyzer(conf_motion_hd);
}
TEST(FullStackTest,
ConferenceMotionHd3TLModerateLimitsAltTLPatternAndBaseHeavyTLAllocation) {
auto fixture = CreateVideoQualityTestFixture();
test::ScopedFieldTrials field_trial(
AppendFieldTrials("WebRTC-UseShortVP8TL3Pattern/Enabled/"
"WebRTC-UseBaseHeavyVP8TL3RateAllocation/Enabled/"));
ParamsWithLogging conf_motion_hd;
conf_motion_hd.call.send_side_bwe = true;
conf_motion_hd.video[0] = {
true, 1280, 720, 50, 30000,
3000000, 3000000, false, "VP8", 3,
-1, 0, false, false, false, "ConferenceMotion_1280_720_50"};
conf_motion_hd.analyzer = {"conference_motion_hd_3tl_alt_moderate_limits",
0.0, 0.0, kFullStackTestDurationSecs};
conf_motion_hd.analyzer = {
"conference_motion_hd_3tl_alt_heavy_moderate_limits", 0.0, 0.0,
kFullStackTestDurationSecs};
conf_motion_hd.config->queue_length_packets = 50;
conf_motion_hd.config->loss_percent = 3;
conf_motion_hd.config->queue_delay_ms = 100;