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

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

Issue 2012573002: [tools/perf] Remove smoothness.fling.simple_mobile_sites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 import multiprocessing 4 import multiprocessing
5 5
6 from core import perf_benchmark 6 from core import perf_benchmark
7 7
8 from benchmarks import silk_flags 8 from benchmarks import silk_flags
9 from measurements import smoothness 9 from measurements import smoothness
10 import page_sets 10 import page_sets
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 """Measures rendering statistics for simple mobile sites page set. 254 """Measures rendering statistics for simple mobile sites page set.
255 """ 255 """
256 page_set = page_sets.SimpleMobileSitesPageSet 256 page_set = page_sets.SimpleMobileSitesPageSet
257 257
258 @classmethod 258 @classmethod
259 def Name(cls): 259 def Name(cls):
260 return 'smoothness.simple_mobile_sites' 260 return 'smoothness.simple_mobile_sites'
261 261
262 262
263 @benchmark.Enabled('android') 263 @benchmark.Enabled('android')
264 class SmoothnessFlingSimpleMobilePages(_Smoothness):
265 """Measures rendering statistics for flinging a simple mobile sites page set.
266 """
267 page_set = page_sets.SimpleMobileSitesFlingPageSet
268
269 def SetExtraBrowserOptions(self, options):
270 # As the fling parameters cannot be analytically determined to not
271 # overscroll, disable overscrolling explicitly. Overscroll behavior is
272 # orthogonal to fling performance, and its activation is only more noise.
273 options.AppendExtraBrowserArgs('--disable-overscroll-edge-effect')
274
275 @classmethod
276 def Name(cls):
277 return 'smoothness.fling.simple_mobile_sites'
278
279
280 @benchmark.Enabled('android')
281 class SmoothnessToughPinchZoomCases(_Smoothness): 264 class SmoothnessToughPinchZoomCases(_Smoothness):
282 """Measures rendering statistics for pinch-zooming in the tough pinch zoom 265 """Measures rendering statistics for pinch-zooming in the tough pinch zoom
283 cases. 266 cases.
284 """ 267 """
285 page_set = page_sets.AndroidToughPinchZoomCasesPageSet 268 page_set = page_sets.AndroidToughPinchZoomCasesPageSet
286 269
287 @classmethod 270 @classmethod
288 def Name(cls): 271 def Name(cls):
289 return 'smoothness.tough_pinch_zoom_cases' 272 return 'smoothness.tough_pinch_zoom_cases'
290 273
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 """Measures rendering statistics while scrolling advertisements.""" 516 """Measures rendering statistics while scrolling advertisements."""
534 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 517 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
535 518
536 @classmethod 519 @classmethod
537 def Name(cls): 520 def Name(cls):
538 return 'smoothness.tough_webgl_ad_cases' 521 return 'smoothness.tough_webgl_ad_cases'
539 522
540 @classmethod 523 @classmethod
541 def ShouldDisable(cls, possible_browser): 524 def ShouldDisable(cls, possible_browser):
542 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 525 return cls.IsSvelte(possible_browser) # http://crbug.com/574485
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