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

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

Issue 257283002: add more polymer tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/benchmarks/rasterize_and_record_micro.py ('k') | tools/perf/benchmarks/thread_times.py » ('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 25dc6e6263af5edecc0f6885c7459295405a2be7..3e2a620af0b705bee0314a213a4008d136a7dee3 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -122,4 +122,39 @@ class SmoothnessPolymer(test.Test):
"""Measures rendering statistics for Polymer cases.
"""
test = smoothness.Smoothness
- page_set = 'page_sets/polymer.py'
+ page_set = 'page_sets/polymer.py'
+
+
+class SmoothnessFastPathPolymer(test.Test):
+ """Measures rendering statistics for the Polymer cases without GPU
+ rasterization using bleeding edge rendering fast paths.
+ """
+ tag = 'fast_path'
+ test = smoothness.Smoothness
+ page_set = 'page_sets/polymer.py'
+ def CustomizeBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForFastPath(options)
+
+
+class SmoothnessGpuRasterizationPolymer(test.Test):
+ """Measures rendering statistics for the Polymer cases with GPU rasterization
+ """
+ tag = 'gpu_rasterization'
+ test = smoothness.Smoothness
+ page_set = 'page_sets/polymer.py'
+ def CustomizeBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
+
+
+class SmoothnessFastPathGpuRasterizationPolymer(
+ SmoothnessGpuRasterizationPolymer):
+ """Measures rendering statistics for the Polymer cases with GPU rasterization
+ using bleeding edge rendering fast paths.
+ """
+ tag = 'fast_path_gpu_rasterization'
+ test = smoothness.Smoothness
+ page_set = 'page_sets/polymer.py'
+ def CustomizeBrowserOptions(self, options):
+ super(SmoothnessFastPathGpuRasterizationPolymer, self). \
+ CustomizeBrowserOptions(options)
+ silk_flags.CustomizeBrowserOptionsForFastPath(options)
« no previous file with comments | « tools/perf/benchmarks/rasterize_and_record_micro.py ('k') | tools/perf/benchmarks/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698