1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from benchmarks import silk_flags
6 from measurements import repaint
8 from telemetry import benchmark
11 class RepaintKeyMobileSites(benchmark.Benchmark):
12 """Measures repaint performance on the key mobile sites.
14 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
15 test = repaint.Repaint
16 page_set = page_sets.KeyMobileSitesPageSet
19 @benchmark.Disabled('android') # crbug.com/399125
20 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark):
21 """Measures repaint performance on the key mobile sites with forced GPU
24 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
25 tag = 'gpu_rasterization'
26 test = repaint.Repaint
27 page_set = page_sets.KeyMobileSitesPageSet
28 def CustomizeBrowserOptions(self, options):
29 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)