Replace WebRTC-QuickPerfTest field trial with similar named dedicated test flag
Bug: webrtc:7101 Change-Id: I4034f90fdd3456c1d09981142ad494ad150f7b94 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/322801 Reviewed-by: Jeremy Leconte <jleconte@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40901}
This commit is contained in:
parent
60362c144c
commit
8144935b78
@ -700,9 +700,6 @@ POLICY_EXEMPT_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
|||||||
FieldTrial('WebRTC-QpParsingKillSwitch',
|
FieldTrial('WebRTC-QpParsingKillSwitch',
|
||||||
'webrtc:12542',
|
'webrtc:12542',
|
||||||
date(2024, 4, 1)),
|
date(2024, 4, 1)),
|
||||||
FieldTrial('WebRTC-QuickPerfTest',
|
|
||||||
'webrtc:7101',
|
|
||||||
INDEFINITE),
|
|
||||||
FieldTrial('WebRTC-RtcEventLogKillSwitch',
|
FieldTrial('WebRTC-RtcEventLogKillSwitch',
|
||||||
'webrtc:12084',
|
'webrtc:12084',
|
||||||
INDEFINITE),
|
INDEFINITE),
|
||||||
|
|||||||
@ -220,7 +220,7 @@
|
|||||||
'args': ['--nologs']
|
'args': ['--nologs']
|
||||||
},
|
},
|
||||||
'quick-perf-tests': {
|
'quick-perf-tests': {
|
||||||
'args': ['--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/', '--nologs']
|
'args': ['--webrtc_quick_perf_test', '--nologs']
|
||||||
},
|
},
|
||||||
'redfin': {
|
'redfin': {
|
||||||
'swarming': {
|
'swarming': {
|
||||||
|
|||||||
@ -158,7 +158,7 @@
|
|||||||
},
|
},
|
||||||
'quick-perf-tests': {
|
'quick-perf-tests': {
|
||||||
'args': [
|
'args': [
|
||||||
'--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/',
|
'--webrtc_quick_perf_test',
|
||||||
'--nologs',
|
'--nologs',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@ -431,7 +431,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs"
|
"--nologs"
|
||||||
],
|
],
|
||||||
"merge": {
|
"merge": {
|
||||||
@ -908,7 +908,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs"
|
"--nologs"
|
||||||
],
|
],
|
||||||
"merge": {
|
"merge": {
|
||||||
@ -1385,7 +1385,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs"
|
"--nologs"
|
||||||
],
|
],
|
||||||
"merge": {
|
"merge": {
|
||||||
@ -1887,7 +1887,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs"
|
"--nologs"
|
||||||
],
|
],
|
||||||
"merge": {
|
"merge": {
|
||||||
@ -5962,7 +5962,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -6041,7 +6041,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -7437,7 +7437,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -7512,7 +7512,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -10572,7 +10572,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -10647,7 +10647,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -12638,7 +12638,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
@ -12713,7 +12713,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
"--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/",
|
"--webrtc_quick_perf_test",
|
||||||
"--nologs",
|
"--nologs",
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
||||||
],
|
],
|
||||||
|
|||||||
@ -150,11 +150,6 @@ class TestMainImpl : public TestMain {
|
|||||||
// outlive the application.
|
// outlive the application.
|
||||||
field_trials_ = absl::GetFlag(FLAGS_force_fieldtrials);
|
field_trials_ = absl::GetFlag(FLAGS_force_fieldtrials);
|
||||||
webrtc::field_trial::InitFieldTrialsFromString(field_trials_.c_str());
|
webrtc::field_trial::InitFieldTrialsFromString(field_trials_.c_str());
|
||||||
// TODO(bugs.webrtc.org/7101): Remove when all invocation would use
|
|
||||||
// webrtc_quick_perf_test flag directly instead of setting the field trial.
|
|
||||||
if (webrtc::field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
|
|
||||||
absl::SetFlag(&FLAGS_webrtc_quick_perf_test, true);
|
|
||||||
}
|
|
||||||
webrtc::metrics::Enable();
|
webrtc::metrics::Enable();
|
||||||
|
|
||||||
#if defined(WEBRTC_WIN)
|
#if defined(WEBRTC_WIN)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user