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

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

Issue 183413002: Enable bleeding edge rendering fast paths for Silk benchmarks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 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/benchmarks/silk_flags.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 e6e5a1867f2d301c9139b7963eb32f4a3049d8bb..6f9bbfc7660eeba9d712e0b02bd6f3ff915d02d9 100644
--- a/tools/perf/benchmarks/smoothness.py
+++ b/tools/perf/benchmarks/smoothness.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from benchmarks import silk_flags
from measurements import smoothness
from telemetry import test
@@ -41,6 +42,17 @@ class SmoothnessKeySilkCases(test.Test):
page_set = 'page_sets/key_silk_cases.json'
+class SmoothnessFastPathKeySilkCases(test.Test):
+ """Measures rendering statistics for the key silk cases without GPU
+ rasterization using bleeding edge rendering fast paths.
+ """
+ tag = 'fast_path'
+ test = smoothness.Smoothness
+ page_set = 'page_sets/key_silk_cases.json'
+ def CustomizeBrowserOptions(self, options):
+ silk_flags.CustomizeBrowserOptionsForFastPath(options)
+
+
class SmoothnessGpuRasterizationTop25(test.Test):
"""Measures rendering statistics for the top 25 with GPU rasterization
"""
@@ -81,6 +93,20 @@ class SmoothnessGpuRasterizationKeySilkCases(test.Test):
options.AppendExtraBrowserArgs('--enable-gpu-rasterization')
+class SmoothnessFastPathGpuRasterizationKeySilkCases(
+ SmoothnessGpuRasterizationKeySilkCases):
+ """Measures rendering statistics for the key silk cases with GPU rasterization
+ using bleeding edge rendering fast paths.
+ """
+ tag = 'fast_path_gpu_rasterization'
+ test = smoothness.Smoothness
+ page_set = 'page_sets/key_silk_cases.json'
+ def CustomizeBrowserOptions(self, options):
+ super(SmoothnessFastPathGpuRasterizationKeySilkCases, self). \
+ CustomizeBrowserOptions(options)
+ silk_flags.CustomizeBrowserOptionsForFastPath(options)
+
+
@test.Enabled('android')
class SmoothnessToughPinchZoomCases(test.Test):
"""Measures rendering statistics for pinch-zooming into the tough pinch zoom
« no previous file with comments | « tools/perf/benchmarks/silk_flags.py ('k') | tools/perf/benchmarks/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698