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 @benchmark.Enabled('android')
12 class RepaintKeyMobileSites(benchmark.Benchmark):
13 """Measures repaint performance on the key mobile sites.
15 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
16 test = repaint.Repaint
17 page_set = page_sets.KeyMobileSitesPageSet
20 @benchmark.Disabled # crbug.com/412001
21 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark):
22 """Measures repaint performance on the key mobile sites with forced GPU
25 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
26 tag = 'gpu_rasterization'
27 test = repaint.Repaint
28 page_set = page_sets.KeyMobileSitesPageSet
29 def CustomizeBrowserOptions(self, options):
30 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)