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

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

Issue 1089223003: Move all the page actions from repaint measurements to repaint pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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 | tools/perf/measurements/repaint.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/repaint.py
diff --git a/tools/perf/benchmarks/repaint.py b/tools/perf/benchmarks/repaint.py
index cce589d84a4fce37a587f3f339b9051f97af1760..7cebc5da91003c0163078921efb77cd94143f668 100644
--- a/tools/perf/benchmarks/repaint.py
+++ b/tools/perf/benchmarks/repaint.py
@@ -27,16 +27,18 @@ class _Repaint(benchmark.Benchmark):
def Name(cls):
return 'repaint'
+ def CreateUserStorySet(self, options):
+ return page_sets.KeyMobileSitesRepaintPageSet(
+ options.mode, options.width, options.height)
+
def CreatePageTest(self, options):
- return repaint_measurement.Repaint(options.mode, options.width,
- options.height)
+ return repaint_measurement.Repaint()
@benchmark.Enabled('android')
class RepaintKeyMobileSites(_Repaint):
"""Measures repaint performance on the key mobile sites.
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
- page_set = page_sets.KeyMobileSitesRepaintPageSet
@classmethod
def Name(cls):
@@ -50,9 +52,9 @@ class RepaintGpuRasterizationKeyMobileSites(_Repaint):
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
tag = 'gpu_rasterization'
- page_set = page_sets.KeyMobileSitesRepaintPageSet
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
+
@classmethod
def Name(cls):
return 'repaint.gpu_rasterization.key_mobile_sites_repaint'
« no previous file with comments | « no previous file | tools/perf/measurements/repaint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698