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

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

Issue 2771343003: Add a MotionMark smoothness benchmark.
Patch Set: Add --enable-experimental-canvas-features Created 3 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 | « tools/perf/benchmark.csv ('k') | tools/perf/page_sets/data/motionmark.json » ('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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 """Measures rendering statistics while scrolling advertisements.""" 535 """Measures rendering statistics while scrolling advertisements."""
536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
537 537
538 @classmethod 538 @classmethod
539 def Name(cls): 539 def Name(cls):
540 return 'smoothness.tough_webgl_ad_cases' 540 return 'smoothness.tough_webgl_ad_cases'
541 541
542 @classmethod 542 @classmethod
543 def ShouldDisable(cls, possible_browser): 543 def ShouldDisable(cls, possible_browser):
544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485
545
546 class SmoothnessMotionmark(_Smoothness):
547 """Measures frame rate and a variety of other statistics on MotionMark cases.
548 """
549 page_set = page_sets.MotionMarkPageSet
550
551 def SetExtraBrowserOptions(self, options):
552 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features')
553
554 @classmethod
555 def Name(cls):
556 return 'smoothness.motionmark'
OLDNEW
« no previous file with comments | « tools/perf/benchmark.csv ('k') | tools/perf/page_sets/data/motionmark.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698