Bug 1784122 - Add non-fission variant for Fenix perf tests.

pull/543/head
gmierz 2 years ago committed by mergify[bot]
parent b16e69105c
commit 37869ec321

@ -102,6 +102,7 @@ task-defaults:
tasks:
tp6m:
run-with-fission: True
page-load-tests:
- amazon
- instagram
@ -125,6 +126,7 @@ tasks:
- [google-search-restaurants, gsearch-r]
tp6m-hv:
run-with-fission: True
page-load-tests:
- google
- [amazon-search, amazon-s]

@ -3,7 +3,8 @@ trust-domain: mobile
treeherder:
group-names:
'beta': 'Beta-related tasks with same APK configuration as Fennec'
'Btime': 'Raptor-Browsertime tests'
'Btime': 'Raptor-Browsertime tests with Fission enabled'
'Btime-nofis': 'Raptor-Browsertime tests with Fission disabled'
'debug': 'Builds made for testing'
'Fetch': 'Fetch and store content'
'forPerformanceTest': 'Builds made for Raptor and other performance tests'

@ -145,6 +145,26 @@ def build_browsertime_task(config, tasks):
yield task
@transforms.add
def setup_nofis(config, tasks):
for task in tasks:
if task.pop("run-with-fission", False):
# Don't continue after this since this flag says
# that a fission and a non-fission variant should
# run
fission_task = copy.deepcopy(task)
yield fission_task
# Disable fission
task["run"]["command"].append("--disable-fission")
# Build taskcluster group and symol
task["treeherder"]["symbol"] = "Btime-nofis(%s)" % symbol
task["name"].append("-nofis")
yield task
@transforms.add
def fill_email_data(config, tasks):
product_name = config.graph_config["taskgraph"]["repositories"]["mobile"]["name"]

Loading…
Cancel
Save