Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import page_sets | 6 import page_sets |
| 7 from measurements import smoothness | 7 from measurements import smoothness |
| 8 from telemetry import benchmark | 8 from telemetry import benchmark |
| 9 | 9 |
| 10 | 10 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 | 122 |
| 123 @benchmark.Enabled('android') | 123 @benchmark.Enabled('android') |
| 124 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): | 124 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): |
| 125 """Measures rendering statistics for the Polymer cases with GPU rasterization | 125 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 126 """ | 126 """ |
| 127 tag = 'gpu_rasterization' | 127 tag = 'gpu_rasterization' |
| 128 test = smoothness.Smoothness | 128 test = smoothness.Smoothness |
| 129 page_set = page_sets.PolymerPageSet | 129 page_set = page_sets.PolymerPageSet |
| 130 def CustomizeBrowserOptions(self, options): | 130 def CustomizeBrowserOptions(self, options): |
| 131 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 131 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 132 | |
| 133 class SmoothnessToughFastScrollingCases(benchmark.Benchmark): | |
|
reveman
2014/10/30 22:48:48
This enables this new benchmark on all devices. No
ilja
2014/10/31 04:38:50
I think that is fine for ChromeOS. But I also thin
reveman
2014/10/31 16:36:52
I'm mostly interested in this as mechanism to prev
ilja
2014/10/31 20:18:29
I hooked this test up for ChromeOS in anticipation
| |
| 134 test = smoothness.Smoothness | |
| 135 page_set = page_sets.ToughFastScrollingCasesPageSet | |
| OLD | NEW |