| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 cases. | 178 cases. |
| 179 """ | 179 """ |
| 180 test = smoothness.Smoothness | 180 test = smoothness.Smoothness |
| 181 page_set = page_sets.ToughPinchZoomCasesPageSet | 181 page_set = page_sets.ToughPinchZoomCasesPageSet |
| 182 | 182 |
| 183 @classmethod | 183 @classmethod |
| 184 def Name(cls): | 184 def Name(cls): |
| 185 return 'smoothness.tough_pinch_zoom_cases' | 185 return 'smoothness.tough_pinch_zoom_cases' |
| 186 | 186 |
| 187 | 187 |
| 188 @benchmark.Enabled('android', 'chromeos') |
| 189 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark): |
| 190 """Measures rendering statistics for pinch-zooming then diagonal scrolling""" |
| 191 test = smoothness.Smoothness |
| 192 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet |
| 193 |
| 194 @classmethod |
| 195 def Name(cls): |
| 196 return 'smoothness.tough_scrolling_while_zoomed_in_cases' |
| 197 |
| 198 |
| 188 @benchmark.Enabled('android') | 199 @benchmark.Enabled('android') |
| 189 class SmoothnessPolymer(benchmark.Benchmark): | 200 class SmoothnessPolymer(benchmark.Benchmark): |
| 190 """Measures rendering statistics for Polymer cases. | 201 """Measures rendering statistics for Polymer cases. |
| 191 """ | 202 """ |
| 192 test = smoothness.Smoothness | 203 test = smoothness.Smoothness |
| 193 page_set = page_sets.PolymerPageSet | 204 page_set = page_sets.PolymerPageSet |
| 194 | 205 |
| 195 @classmethod | 206 @classmethod |
| 196 def Name(cls): | 207 def Name(cls): |
| 197 return 'smoothness.polymer' | 208 return 'smoothness.polymer' |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 @benchmark.Enabled('android') | 269 @benchmark.Enabled('android') |
| 259 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): | 270 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): |
| 260 """Measures task execution statistics while scrolling pathological sites. | 271 """Measures task execution statistics while scrolling pathological sites. |
| 261 """ | 272 """ |
| 262 test = smoothness.Smoothness | 273 test = smoothness.Smoothness |
| 263 page_set = page_sets.PathologicalMobileSitesPageSet | 274 page_set = page_sets.PathologicalMobileSitesPageSet |
| 264 | 275 |
| 265 @classmethod | 276 @classmethod |
| 266 def Name(cls): | 277 def Name(cls): |
| 267 return 'smoothness.pathological_mobile_sites' | 278 return 'smoothness.pathological_mobile_sites' |
| OLD | NEW |