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 |