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

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

Issue 2003353002: perf: Remove smoothness.bidirectionally_scrolling_tough_ad_cases (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bidi support too Created 4 years, 6 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 | tools/perf/page_sets/tough_ad_cases.py » ('j') | 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 @classmethod 507 @classmethod
508 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 508 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
509 return (possible_browser.browser_type == 'reference' and 509 return (possible_browser.browser_type == 'reference' and
510 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') 510 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
511 511
512 @classmethod 512 @classmethod
513 def Name(cls): 513 def Name(cls):
514 return 'smoothness.scrolling_tough_ad_cases' 514 return 'smoothness.scrolling_tough_ad_cases'
515 515
516 516
517 @benchmark.Disabled('android-reference') # crbug.com/588786
518 @benchmark.Disabled('mac', 'win') # crbug.com/522619 (mac/win)
519 class SmoothnessBidirectionallyScrollingToughAdCases(_Smoothness):
520 """Measures rendering statistics while scrolling advertisements."""
521 page_set = page_sets.BidirectionallyScrollingToughAdCasesPageSet
522
523 def SetExtraBrowserOptions(self, options):
524 # Don't accidentally reload the page while scrolling.
525 options.AppendExtraBrowserArgs('--disable-pull-to-refresh-effect')
526
527 @classmethod
528 def Name(cls):
529 return 'smoothness.bidirectionally_scrolling_tough_ad_cases'
530
531
532 class SmoothnessToughWebGLAdCases(_Smoothness): 517 class SmoothnessToughWebGLAdCases(_Smoothness):
533 """Measures rendering statistics while scrolling advertisements.""" 518 """Measures rendering statistics while scrolling advertisements."""
534 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 519 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
535 520
536 @classmethod 521 @classmethod
537 def Name(cls): 522 def Name(cls):
538 return 'smoothness.tough_webgl_ad_cases' 523 return 'smoothness.tough_webgl_ad_cases'
539 524
540 @classmethod 525 @classmethod
541 def ShouldDisable(cls, possible_browser): 526 def ShouldDisable(cls, possible_browser):
542 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 527 return cls.IsSvelte(possible_browser) # http://crbug.com/574485
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_ad_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698