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 from benchmarks import webgl_expectations | 6 from benchmarks import webgl_expectations |
| 7 from measurements import smoothness | 7 from measurements import smoothness |
| 8 import page_sets | 8 import page_sets |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 def Name(cls): | 63 def Name(cls): |
| 64 return 'smoothness.tough_webgl_cases' | 64 return 'smoothness.tough_webgl_cases' |
| 65 | 65 |
| 66 | 66 |
| 67 @benchmark.Enabled('android') | 67 @benchmark.Enabled('android') |
| 68 class SmoothnessMaps(benchmark.Benchmark): | 68 class SmoothnessMaps(benchmark.Benchmark): |
| 69 test = smoothness.Smoothness | 69 test = smoothness.Smoothness |
| 70 page_set = page_sets.MapsPageSet | 70 page_set = page_sets.MapsPageSet |
| 71 | 71 |
| 72 @classmethod | 72 @classmethod |
| 73 def CreateExpectations(cls): | |
| 74 return webgl_expectations.WebGLLowEndExpectations() | |
|
Ken Russell (switch to Gerrit)
2015/03/23 18:08:03
I'd suggest naming these expectations per benchmar
eakuefner
2015/03/23 18:11:27
Done.
| |
| 75 | |
| 76 @classmethod | |
| 73 def Name(cls): | 77 def Name(cls): |
| 74 return 'smoothness.maps' | 78 return 'smoothness.maps' |
| 75 | 79 |
| 76 | 80 |
| 77 @benchmark.Enabled('android') | 81 @benchmark.Enabled('android') |
| 78 class SmoothnessKeyMobileSites(benchmark.Benchmark): | 82 class SmoothnessKeyMobileSites(benchmark.Benchmark): |
| 79 """Measures rendering statistics while scrolling down the key mobile sites. | 83 """Measures rendering statistics while scrolling down the key mobile sites. |
| 80 | 84 |
| 81 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 85 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
| 82 """ | 86 """ |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 @benchmark.Enabled('android') | 262 @benchmark.Enabled('android') |
| 259 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): | 263 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): |
| 260 """Measures task execution statistics while scrolling pathological sites. | 264 """Measures task execution statistics while scrolling pathological sites. |
| 261 """ | 265 """ |
| 262 test = smoothness.Smoothness | 266 test = smoothness.Smoothness |
| 263 page_set = page_sets.PathologicalMobileSitesPageSet | 267 page_set = page_sets.PathologicalMobileSitesPageSet |
| 264 | 268 |
| 265 @classmethod | 269 @classmethod |
| 266 def Name(cls): | 270 def Name(cls): |
| 267 return 'smoothness.pathological_mobile_sites' | 271 return 'smoothness.pathological_mobile_sites' |
| OLD | NEW |