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

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

Issue 1359473003: Enable GPU rasterization for more telemetry tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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/benchmarks/power.py ('k') | no next file » | 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 0dd6d9afecb91f5e7c6cc25925e81bb059cfa8ad..2e88fc55dea91beec29e3912fa0143da570de7c0 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -153,7 +153,7 @@ class SmoothnessKeySilkCases(_Smoothness):
return stories
-@benchmark.Enabled('android')
+@benchmark.Enabled('android', "mac")
class SmoothnessGpuRasterizationTop25(_Smoothness):
"""Measures rendering statistics for the top 25 with GPU rasterization.
"""
@@ -260,7 +260,7 @@ class SmoothnessFlingSimpleMobilePages(_Smoothness):
@benchmark.Enabled('android', 'chromeos', 'mac')
class SmoothnessToughPinchZoomCases(_Smoothness):
- """Measures rendering statistics for pinch-zooming into the tough pinch zoom
+ """Measures rendering statistics for pinch-zooming in the tough pinch zoom
cases.
"""
page_set = page_sets.ToughPinchZoomCasesPageSet
@@ -270,6 +270,23 @@ class SmoothnessToughPinchZoomCases(_Smoothness):
return 'smoothness.tough_pinch_zoom_cases'
+@benchmark.Enabled('android', 'chromeos', 'mac')
+class SmoothnessGpuRasterizationToughPinchZoomCases(_Smoothness):
+ """Measures rendering statistics for pinch-zooming in the tough pinch zoom
+ cases with GPU rasterization.
+ """
+ tag = 'gpu_rasterization'
+ test = smoothness.Smoothness
+ page_set = page_sets.ToughPinchZoomCasesPageSet
+
+ def SetExtraBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
+
+ @classmethod
+ def Name(cls):
+ return 'smoothness.gpu_rasterization.tough_pinch_zoom_cases'
+
+
@benchmark.Enabled('android', 'chromeos')
class SmoothnessToughScrollingWhileZoomedInCases(_Smoothness):
"""Measures rendering statistics for pinch-zooming then diagonal scrolling"""
@@ -313,6 +330,20 @@ class SmoothnessToughScrollingCases(_Smoothness):
def Name(cls):
return 'smoothness.tough_scrolling_cases'
+
+@benchmark.Enabled('android', "mac")
+class SmoothnessGpuRasterizationToughScrollingCases(_Smoothness):
+ tag = 'gpu_rasterization'
+ test = smoothness.Smoothness
+ page_set = page_sets.ToughScrollingCasesPageSet
+
+ def SetExtraBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
+
+ @classmethod
+ def Name(cls):
+ return 'smoothness.gpu_rasterization.tough_scrolling_cases'
+
@benchmark.Disabled('android') # http://crbug.com/531593
class SmoothnessToughImageDecodeCases(_Smoothness):
page_set = page_sets.ToughImageDecodeCasesPageSet
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698