Commit 3a98b39b authored by dominikg@chromium.org's avatar dominikg@chromium.org

Add rasterize_and_record_micro.fast_path_gpu_rasterization.key_silk_cases benchmark

Same as rasterize_and_record_micro.fast_path.key_silk_cases but with forced GPU
rasterization flags added (taken from smoothness.gpu_rasterization.*).

This benchmark will eventually replace rasterize_and_record_micro.fast_path.key_silk_cases,
but we need to stage that change to not break the buildbots (see bug).

BUG=367678

Review URL: https://codereview.chromium.org/256043005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266796 0039d316-1c4b-4281-b951-d872f2087c98
parent 0659c8af
......@@ -48,3 +48,18 @@ class RasterizeAndRecordMicroFastPathKeySilkCases(test.Test):
page_set = 'page_sets/key_silk_cases.py'
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForFastPath(options)
@test.Disabled('mac', 'win')
class RasterizeAndRecordMicroFastPathGpuRasterizationKeySilkCases(test.Test):
"""Measures rasterize and record performance on the silk sites.
Uses GPU rasterization together with bleeding edge rendering fast paths.
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
tag = 'fast_path_gpu_rasterization'
test = rasterize_and_record_micro.RasterizeAndRecordMicro
page_set = 'page_sets/key_silk_cases.py'
def CustomizeBrowserOptions(self, options):
silk_flags.CustomizeBrowserOptionsForFastPath(options)
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
......@@ -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 repaint
from telemetry import test
......@@ -23,7 +24,4 @@ class RepaintGpuRasterizationKeyMobileSites(test.Test):
test = repaint.Repaint
page_set = 'page_sets/key_mobile_sites.py'
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--enable-threaded-compositing')
options.AppendExtraBrowserArgs('--force-compositing-mode')
options.AppendExtraBrowserArgs('--enable-impl-side-painting')
options.AppendExtraBrowserArgs('--force-gpu-rasterization')
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
......@@ -5,3 +5,11 @@
def CustomizeBrowserOptionsForFastPath(options):
"""Enables flags needed for bleeding edge rendering fast paths."""
options.AppendExtraBrowserArgs('--enable-bleeding-edge-rendering-fast-paths')
def CustomizeBrowserOptionsForGpuRasterization(options):
"""Enables flags needed for forced GPU rasterization using Ganesh."""
options.AppendExtraBrowserArgs('--enable-threaded-compositing')
options.AppendExtraBrowserArgs('--force-compositing-mode')
options.AppendExtraBrowserArgs('--enable-impl-side-painting')
options.AppendExtraBrowserArgs('--force-gpu-rasterization')
......@@ -71,10 +71,7 @@ class SmoothnessGpuRasterizationTop25(test.Test):
test = smoothness.Smoothness
page_set = 'page_sets/top_25.py'
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--enable-threaded-compositing')
options.AppendExtraBrowserArgs('--force-compositing-mode')
options.AppendExtraBrowserArgs('--enable-impl-side-painting')
options.AppendExtraBrowserArgs('--force-gpu-rasterization')
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
......@@ -85,10 +82,7 @@ class SmoothnessGpuRasterizationKeyMobileSites(test.Test):
test = smoothness.Smoothness
page_set = 'page_sets/key_mobile_sites.py'
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--enable-threaded-compositing')
options.AppendExtraBrowserArgs('--force-compositing-mode')
options.AppendExtraBrowserArgs('--enable-impl-side-painting')
options.AppendExtraBrowserArgs('--force-gpu-rasterization')
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
class SmoothnessGpuRasterizationKeySilkCases(test.Test):
......@@ -98,10 +92,7 @@ class SmoothnessGpuRasterizationKeySilkCases(test.Test):
test = smoothness.Smoothness
page_set = 'page_sets/key_silk_cases.py'
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--enable-threaded-compositing')
options.AppendExtraBrowserArgs('--force-compositing-mode')
options.AppendExtraBrowserArgs('--enable-impl-side-painting')
options.AppendExtraBrowserArgs('--force-gpu-rasterization')
silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
class SmoothnessFastPathGpuRasterizationKeySilkCases(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment