Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: tools/perf/benchmarks/blink_perf.py

Issue 2557483002: Add blink_perf.paint_spinvalidation and blink_perf.svg_spinvalidation suites (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/blink_perf.py
diff --git a/tools/perf/benchmarks/blink_perf.py b/tools/perf/benchmarks/blink_perf.py
index 0cfd03a39ae10b672d583451834af1b34b563c86..f210adcdef2d7366db88e80a76fe1ff14b64d16e 100644
--- a/tools/perf/benchmarks/blink_perf.py
+++ b/tools/perf/benchmarks/blink_perf.py
@@ -119,6 +119,14 @@ class _BlinkPerfMeasurement(legacy_page_test.LegacyPageTest):
print log
+class _BlinkPerfMeasurementSPInvalidation(_BlinkPerfMeasurement):
pdr. 2016/12/06 06:47:28 It's really long but WDYT of changing this to: _Bl
Xianzhu 2016/12/06 17:23:34 Done.
+ def CustomizeBrowserOptions(self, options):
+ _BlinkPerfMeasurement.CustomizeBrowserOptions(self, options)
+ options.AppendExtraBrowserArgs([
+ '--enable-blink-features=SlimmingPaintInvalidation'
+ ])
+
+
class _SharedPywebsocketPageState(shared_page_state.SharedPageState):
"""Runs a pywebsocket server."""
@@ -267,6 +275,15 @@ class BlinkPerfPaint(perf_benchmark.PerfBenchmark):
return cls.IsSvelte(possible_browser) # http://crbug.com/574483
+class BlinkPerfPaintSPInvalidation(BlinkPerfPaint):
pdr. 2016/12/06 06:47:28 Can you add a link to either of the design docs an
Xianzhu 2016/12/06 17:23:34 I put the following doc in _BlinkPerfMeasurementSl
+ tag = 'paint_spinvalidation'
+ test = _BlinkPerfMeasurementSPInvalidation
+
+ @classmethod
+ def Name(cls):
+ return 'blink_perf.paint_spinvalidation'
+
+
@benchmark.Disabled('win') # crbug.com/488493
class BlinkPerfParser(perf_benchmark.PerfBenchmark):
tag = 'parser'
@@ -294,6 +311,15 @@ class BlinkPerfSVG(perf_benchmark.PerfBenchmark):
return CreateStorySetFromPath(path, SKIPPED_FILE)
+class BlinkPerfSVGSPInvalidation(BlinkPerfSVG):
+ tag = 'svg_spinvalidation'
+ test = _BlinkPerfMeasurementSPInvalidation
+
+ @classmethod
+ def Name(cls):
+ return 'blink_perf.svg_spinvalidation'
+
+
class BlinkPerfShadowDOM(perf_benchmark.PerfBenchmark):
tag = 'shadow_dom'
test = _BlinkPerfMeasurement
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698