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

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

Issue 945393002: Adding support for diagonal scrolling to telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding telemetry support for diagonal scrolling. Also added a telemetry test to pinchzoom in and th… Created 5 years, 9 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 benchmarks import silk_flags 5 from benchmarks import silk_flags
6 from measurements import smoothness 6 from measurements import smoothness
7 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 cases. 173 cases.
174 """ 174 """
175 test = smoothness.Smoothness 175 test = smoothness.Smoothness
176 page_set = page_sets.ToughPinchZoomCasesPageSet 176 page_set = page_sets.ToughPinchZoomCasesPageSet
177 177
178 @classmethod 178 @classmethod
179 def Name(cls): 179 def Name(cls):
180 return 'smoothness.tough_pinch_zoom_cases' 180 return 'smoothness.tough_pinch_zoom_cases'
181 181
182 182
183 @benchmark.Enabled('android', 'chromeos')
184 class SmoothnessToughPinchZoomDiagonalScrollingCases(benchmark.Benchmark):
185 """Measures rendering statistics for pinch-zooming followed by diagonal
186 scrolling """
187 test = smoothness.Smoothness
188 page_set = page_sets.ToughPinchZoomDiagonalScrollingCasesPageSet
189
190 @classmethod
191 def Name(cls):
192 return 'smoothness.tough_pinch_zoom_diagonal_scrolling_cases'
193
194
183 @benchmark.Enabled('android') 195 @benchmark.Enabled('android')
184 class SmoothnessPolymer(benchmark.Benchmark): 196 class SmoothnessPolymer(benchmark.Benchmark):
185 """Measures rendering statistics for Polymer cases. 197 """Measures rendering statistics for Polymer cases.
186 """ 198 """
187 test = smoothness.Smoothness 199 test = smoothness.Smoothness
188 page_set = page_sets.PolymerPageSet 200 page_set = page_sets.PolymerPageSet
189 201
190 @classmethod 202 @classmethod
191 def Name(cls): 203 def Name(cls):
192 return 'smoothness.polymer' 204 return 'smoothness.polymer'
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 @benchmark.Disabled # http://crbug.com/458282 265 @benchmark.Disabled # http://crbug.com/458282
254 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): 266 class SmoothnessPathologicalMobileSites(benchmark.Benchmark):
255 """Measures task execution statistics while scrolling pathological sites. 267 """Measures task execution statistics while scrolling pathological sites.
256 """ 268 """
257 test = smoothness.Smoothness 269 test = smoothness.Smoothness
258 page_set = page_sets.PathologicalMobileSitesPageSet 270 page_set = page_sets.PathologicalMobileSitesPageSet
259 271
260 @classmethod 272 @classmethod
261 def Name(cls): 273 def Name(cls):
262 return 'smoothness.pathological_mobile_sites' 274 return 'smoothness.pathological_mobile_sites'
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698