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

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

Issue 1061133002: Adding Android to the test OSes for scrolling while zoomed in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding Android to the list of targets for the smoothness.tough_scrolling_while_zoomed_in_cases. 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 page_set = page_sets.ToughPinchZoomCasesPageSet 229 page_set = page_sets.ToughPinchZoomCasesPageSet
230 230
231 @classmethod 231 @classmethod
232 def Name(cls): 232 def Name(cls):
233 return 'smoothness.tough_pinch_zoom_cases' 233 return 'smoothness.tough_pinch_zoom_cases'
234 234
235 def CreatePageTest(self, options): # pylint: disable=unused-argument 235 def CreatePageTest(self, options): # pylint: disable=unused-argument
236 return smoothness.Smoothness(enable_auto_issuing_marker=False) 236 return smoothness.Smoothness(enable_auto_issuing_marker=False)
237 237
238 238
239 @benchmark.Enabled('chromeos') 239 @benchmark.Enabled('android', 'chromeos')
240 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark): 240 class SmoothnessToughScrollingWhileZoomedInCases(benchmark.Benchmark):
241 """Measures rendering statistics for pinch-zooming then diagonal scrolling""" 241 """Measures rendering statistics for pinch-zooming then diagonal scrolling"""
242 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet 242 page_set = page_sets.ToughScrollingWhileZoomedInCasesPageSet
243 243
244 @classmethod 244 @classmethod
245 def Name(cls): 245 def Name(cls):
246 return 'smoothness.tough_scrolling_while_zoomed_in_cases' 246 return 'smoothness.tough_scrolling_while_zoomed_in_cases'
247 247
248 def CreatePageTest(self, options): # pylint: disable=unused-argument 248 def CreatePageTest(self, options): # pylint: disable=unused-argument
249 return smoothness.Smoothness(enable_auto_issuing_marker=False) 249 return smoothness.Smoothness(enable_auto_issuing_marker=False)
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 return smoothness.Smoothness(enable_auto_issuing_marker=False) 355 return smoothness.Smoothness(enable_auto_issuing_marker=False)
356 356
357 357
358 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark): 358 class SmoothnessToughAnimatedImageCases(benchmark.Benchmark):
359 test = smoothness.Smoothness 359 test = smoothness.Smoothness
360 page_set = page_sets.ToughAnimatedImageCasesPageSet 360 page_set = page_sets.ToughAnimatedImageCasesPageSet
361 361
362 @classmethod 362 @classmethod
363 def Name(cls): 363 def Name(cls):
364 return 'smoothness.tough_animated_image_cases' 364 return 'smoothness.tough_animated_image_cases'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698