OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from benchmarks import silk_flags | 5 from benchmarks import silk_flags |
6 from measurements import repaint | 6 from measurements import repaint |
7 import page_sets | 7 import page_sets |
8 from telemetry import benchmark | 8 from telemetry import benchmark |
9 | 9 |
10 | 10 |
11 class RepaintKeyMobileSites(benchmark.Benchmark): | 11 class RepaintKeyMobileSites(benchmark.Benchmark): |
12 """Measures repaint performance on the key mobile sites. | 12 """Measures repaint performance on the key mobile sites. |
13 | 13 |
14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
15 test = repaint.Repaint | 15 test = repaint.Repaint |
16 page_set = page_sets.KeyMobileSitesPageSet | 16 page_set = page_sets.KeyMobileSitesPageSet |
17 | 17 |
18 | 18 |
19 @benchmark.Disabled('android') # crbug.com/412001 | |
20 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark): | 19 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark): |
tonyg
2014/09/23 00:11:58
This'll run on desktop now too - if that's desired
ernstm
2014/10/06 17:38:20
Changed to enable on Android only.
| |
21 """Measures repaint performance on the key mobile sites with forced GPU | 20 """Measures repaint performance on the key mobile sites with forced GPU |
22 rasterization. | 21 rasterization. |
23 | 22 |
24 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 23 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
25 tag = 'gpu_rasterization' | 24 tag = 'gpu_rasterization' |
26 test = repaint.Repaint | 25 test = repaint.Repaint |
27 page_set = page_sets.KeyMobileSitesPageSet | 26 page_set = page_sets.KeyMobileSitesPageSet |
28 def CustomizeBrowserOptions(self, options): | 27 def CustomizeBrowserOptions(self, options): |
29 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 28 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
OLD | NEW |