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' |