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

Unified Diff: tools/perf/benchmarks/smoothness.py

Issue 2771343003: Add a MotionMark smoothness benchmark.
Patch Set: Add --enable-experimental-canvas-features Created 3 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/smoothness.py
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py
index 733eb121c073789b7da524dc4c050f701fd5b780..f77a922127f2c61345ad021c2aab1fdc5479f30b 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -542,3 +542,15 @@ class SmoothnessToughWebGLAdCases(_Smoothness):
@classmethod
def ShouldDisable(cls, possible_browser):
return cls.IsSvelte(possible_browser) # http://crbug.com/574485
+
+class SmoothnessMotionmark(_Smoothness):
+ """Measures frame rate and a variety of other statistics on MotionMark cases.
+ """
+ page_set = page_sets.MotionMarkPageSet
+
+ def SetExtraBrowserOptions(self, options):
+ options.AppendExtraBrowserArgs('--enable-experimental-canvas-features')
+
+ @classmethod
+ def Name(cls):
+ return 'smoothness.motionmark'
« 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