Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: tools/perf/benchmarks/smoothness.py

Issue 999243003: Adding tests for diagonal scrolling in telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing python lists to tuple, changing comment indentation, and changing a test to only run on ch… Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 telemetry import benchmark 5 from telemetry import benchmark
6 6
7 from benchmarks import silk_flags 7 from benchmarks import silk_flags
8 from benchmarks import webgl_expectations 8 from benchmarks import webgl_expectations
9 from measurements import smoothness 9 from measurements import smoothness
10 import page_sets 10 import page_sets
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 cases. 209 cases.
210 """ 210 """
211 test = smoothness.Smoothness 211 test = smoothness.Smoothness
212 page_set = page_sets.ToughPinchZoomCasesPageSet 212 page_set = page_sets.ToughPinchZoomCasesPageSet
213 213
214 @classmethod 214 @classmethod
215 def Name(cls): 215 def Name(cls):
216 return 'smoothness.tough_pinch_zoom_cases' 216 return 'smoothness.tough_pinch_zoom_cases'
217 217
218 218
219 @benchmark.Enabled('chromeos')
220 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark):
221 """Measures rendering statistics for pinch-zooming then diagonal scrolling"""
222 test = smoothness.Smoothness
223 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet
224
225 @classmethod
226 def Name(cls):
227 return 'smoothness.tough_scrolling_while_zoomed_in_cases'
228
229
219 @benchmark.Enabled('android') 230 @benchmark.Enabled('android')
220 class SmoothnessPolymer(benchmark.Benchmark): 231 class SmoothnessPolymer(benchmark.Benchmark):
221 """Measures rendering statistics for Polymer cases. 232 """Measures rendering statistics for Polymer cases.
222 """ 233 """
223 test = smoothness.Smoothness 234 test = smoothness.Smoothness
224 page_set = page_sets.PolymerPageSet 235 page_set = page_sets.PolymerPageSet
225 236
226 @classmethod 237 @classmethod
227 def Name(cls): 238 def Name(cls):
228 return 'smoothness.polymer' 239 return 'smoothness.polymer'
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 tag = 'sync_scroll' 316 tag = 'sync_scroll'
306 test = smoothness.Smoothness 317 test = smoothness.Smoothness
307 page_set = page_sets.PathologicalMobileSitesPageSet 318 page_set = page_sets.PathologicalMobileSitesPageSet
308 319
309 def CustomizeBrowserOptions(self, options): 320 def CustomizeBrowserOptions(self, options):
310 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) 321 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
311 322
312 @classmethod 323 @classmethod
313 def Name(cls): 324 def Name(cls):
314 return 'smoothness.sync_scroll.pathological_mobile_sites' 325 return 'smoothness.sync_scroll.pathological_mobile_sites'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698