Chromium Code Reviews| 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 @benchmark.Enabled('android') | 11 @benchmark.Enabled('android') |
| 12 class RepaintKeyMobileSites(benchmark.Benchmark): | |
|
tonyg
2014/10/10 21:24:03
lgtm modulo our discussion about this one.
ernstm
2014/10/10 21:54:50
Added this one back with the latest patch.
| |
| 13 """Measures repaint performance on the key mobile sites. | |
| 14 | |
| 15 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | |
| 16 test = repaint.Repaint | |
| 17 page_set = page_sets.KeyMobileSitesPageSet | |
| 18 | |
| 19 | |
| 20 @benchmark.Enabled('android') | |
| 21 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark): | 12 class RepaintGpuRasterizationKeyMobileSites(benchmark.Benchmark): |
| 22 """Measures repaint performance on the key mobile sites with forced GPU | 13 """Measures repaint performance on the key mobile sites with forced GPU |
| 23 rasterization. | 14 rasterization. |
| 24 | 15 |
| 25 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 16 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 26 tag = 'gpu_rasterization' | 17 tag = 'gpu_rasterization' |
| 27 test = repaint.Repaint | 18 test = repaint.Repaint |
| 28 page_set = page_sets.KeyMobileSitesPageSet | 19 page_set = page_sets.KeyMobileSitesPageSet |
| 29 def CustomizeBrowserOptions(self, options): | 20 def CustomizeBrowserOptions(self, options): |
| 30 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 21 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| OLD | NEW |