diff --git a/testing/talos/talos.json b/testing/talos/talos.json index 5a2c164e2d9a..914c66d37587 100644 --- a/testing/talos/talos.json +++ b/testing/talos/talos.json @@ -47,7 +47,7 @@ "talos_options": ["--disable-stylo"] }, "g4-e10s": { - "tests": ["basic_compositor_video", "glvideo", "displaylist_mutate", "rasterflood_svg"] + "tests": ["basic_compositor_video", "glvideo", "displaylist_mutate", "rasterflood_svg", "rasterflood_gradient"] }, "g4-stylo-disabled-e10s": { "tests": ["basic_compositor_video", "glvideo"], diff --git a/testing/talos/talos/test.py b/testing/talos/talos/test.py index 40a29bb18331..9bb34922893e 100644 --- a/testing/talos/talos/test.py +++ b/testing/talos/talos/test.py @@ -986,3 +986,26 @@ class rasterflood_svg(PageloaderTest): 'docshell.event_starvation_delay_hint': 1, 'dom.send_after_paint_to_content': False} unit = 'ms' + + +@register_test() +class rasterflood_gradient(PageloaderTest): + """ + Test expensive rasterization while the main thread is busy. + """ + tpmanifest = '${talos}/tests/gfx/rasterflood_gradient.manifest' + tpcycles = 1 + tppagecycles = 10 + tploadnocache = True + tpmozafterpaint = False + tpchrome = False + gecko_profile_interval = 2 + gecko_profile_entries = 2000000 + win_counters = w7_counters = linux_counters = mac_counters = None + filters = filter.ignore_first.prepare(1) + filter.median.prepare() + """ASAP mode""" + preferences = {'layout.frame_rate': 0, + 'docshell.event_starvation_delay_hint': 1, + 'dom.send_after_paint_to_content': False} + lower_is_better = False + unit = 'score' diff --git a/testing/talos/talos/tests/gfx/benchmarks/rasterflood_gradient.html b/testing/talos/talos/tests/gfx/benchmarks/rasterflood_gradient.html new file mode 100644 index 000000000000..778c8b475cfc --- /dev/null +++ b/testing/talos/talos/tests/gfx/benchmarks/rasterflood_gradient.html @@ -0,0 +1,132 @@ + + + + + Paint-In-Time 2 + + + +
+
+ + + diff --git a/testing/talos/talos/tests/gfx/rasterflood_gradient.manifest b/testing/talos/talos/tests/gfx/rasterflood_gradient.manifest new file mode 100644 index 000000000000..2351c5653f76 --- /dev/null +++ b/testing/talos/talos/tests/gfx/rasterflood_gradient.manifest @@ -0,0 +1 @@ +% http://localhost/tests/gfx/benchmarks/rasterflood_gradient.html