Bug 1318530 - Add boilerplate code to test.py to enable new test suite 'tsvg_static'. r=jmaher
authorNeerja Pancholi <npancholi@mozilla.com>
Thu, 17 Nov 2016 17:22:08 -0800
changeset 323940 15ac263b9c43dfc351182b10a5633b754d944907
parent 323939 47dddc6dc461c0c8de11b1571424b3dab5216fbc
child 323941 d9f4e403f9a03a5f40ba14f039ab5b24dc6b352f
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersjmaher
bugs1318530
milestone53.0a1
Bug 1318530 - Add boilerplate code to test.py to enable new test suite 'tsvg_static'. r=jmaher MozReview-Commit-ID: 2X194dSromV
testing/talos/talos/test.py
--- a/testing/talos/talos/test.py
+++ b/testing/talos/talos/test.py
@@ -621,17 +621,18 @@ class dromaeo_dom(dromaeo):
     tpmanifest = '${talos}/tests/dromaeo/dom.manifest'
     tpdisable_e10s = True
     unit = 'score'
 
 
 @register_test()
 class tsvgm(PageloaderTest):
     """
-    An svg-only number that measures SVG rendering performance.
+    An svg-only number that measures SVG rendering performance
+    for dynamic content only.
     """
     tpmanifest = '${talos}/tests/svgx/svgm.manifest'
     tpcycles = 1
     tppagecycles = 7
     tpmozafterpaint = False
     sps_profile_interval = 10
     sps_profile_entries = 1000000
     """ASAP mode"""
@@ -640,33 +641,50 @@ class tsvgm(PageloaderTest):
                    'dom.send_after_paint_to_content': False}
     filters = filter.ignore_first.prepare(2) + filter.median.prepare()
     unit = 'ms'
 
 
 @register_test()
 class tsvgx(PageloaderTest):
     """
-    An svg-only number that measures SVG rendering performance.
+    An svg-only number that measures SVG rendering performance
+    for dynamic content only.
     """
     tpmanifest = '${talos}/tests/svgx/svgx.manifest'
     tpcycles = 1
     tppagecycles = 25
     tpmozafterpaint = False
     sps_profile_interval = 10
     sps_profile_entries = 1000000
     """ASAP mode"""
     preferences = {'layout.frame_rate': 0,
                    'docshell.event_starvation_delay_hint': 1,
                    'dom.send_after_paint_to_content': False}
     filters = filter.ignore_first.prepare(5) + filter.median.prepare()
     unit = 'ms'
 
 
 @register_test()
+class tsvg_static(PageloaderTest):
+    """
+    An svg-only number that measures SVG rendering performance
+    for static content only.
+    """
+    tpmanifest = '${talos}/tests/svg_static/svg_static.manifest'
+    tpcycles = 1
+    tppagecycles = 25
+    tpmozafterpaint = True
+    sps_profile_interval = 1
+    sps_profile_entries = 10000000
+    filters = filter.ignore_first.prepare(5) + filter.median.prepare()
+    unit = 'ms'
+
+
+@register_test()
 class tsvgr_opacity(PageloaderTest):
     """
     An svg-only number that measures SVG rendering performance.
     """
     tpmanifest = '${talos}/tests/svg_opacity/svg_opacity.manifest'
     tpcycles = 1
     tppagecycles = 25
     tpmozafterpaint = True