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

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 6021c4a26f6ead7541469c0f8f65ed4cfe5d95b3..94da35bd1eb5c30a087691b3e3ebac39215a39ee 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -137,7 +137,6 @@ class SmoothnessKeySilkCases(perf_benchmark.PerfBenchmark):
return stories
-@benchmark.Enabled('android')
class SmoothnessGpuRasterizationTop25(perf_benchmark.PerfBenchmark):
vmiura 2015/09/23 21:01:52 Should we stick to Android & Mac for now?
ericrk 2015/09/28 22:43:27 Either way seems fine to me - not bad to start col
"""Measures rendering statistics for the top 25 with GPU rasterization.
"""
@@ -252,7 +251,7 @@ class SmoothnessFlingSimpleMobilePages(perf_benchmark.PerfBenchmark):
@benchmark.Enabled('android', 'chromeos', 'mac')
class SmoothnessToughPinchZoomCases(perf_benchmark.PerfBenchmark):
- """Measures rendering statistics for pinch-zooming into the tough pinch zoom
+ """Measures rendering statistics for pinch-zooming in the tough pinch zoom
cases.
"""
test = smoothness.Smoothness
@@ -263,6 +262,24 @@ class SmoothnessToughPinchZoomCases(perf_benchmark.PerfBenchmark):
return 'smoothness.tough_pinch_zoom_cases'
+@benchmark.Enabled('android', 'chromeos', 'mac')
+class SmoothnessGpuRasterizationToughPinchZoomCases(
+ perf_benchmark.PerfBenchmark):
+ """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(perf_benchmark.PerfBenchmark):
"""Measures rendering statistics for pinch-zooming then diagonal scrolling"""
@@ -310,6 +327,19 @@ class SmoothnessToughScrollingCases(perf_benchmark.PerfBenchmark):
def Name(cls):
return 'smoothness.tough_scrolling_cases'
+class SmoothnessGpuRasterizationToughScrollingCases(
vmiura 2015/09/23 21:01:52 Same, Android & Mac?
ericrk 2015/09/28 22:43:27 Done.
+ perf_benchmark.PerfBenchmark):
+ 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(perf_benchmark.PerfBenchmark):
test = smoothness.Smoothness
« 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