Commit 737b0a6f authored by Christian Biesinger's avatar Christian Biesinger Committed by Commit Bot

Add a LayoutNG version of the loading.{desktop,mobile} benchmarks

R=eae@chromium.org, kojii@chromium.org

Change-Id: I78bda450dd122b256495b33489dc8bfb7b39fb15
Reviewed-on: https://chromium-review.googlesource.com/1259125Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Reviewed-by: default avatarKoji Ishii <kojii@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596279}
parent f33d9eb9
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from benchmarks import loading
from telemetry import benchmark
# pylint: disable=protected-access
@benchmark.Info(emails=['cbiesinger@chromium.org'],
documentation_url='https://bit.ly/loading-benchmarks')
class LoadingDesktopLayoutNg(loading.LoadingDesktop):
"""A benchmark that runs loading.desktop with the layoutng flag."""
def SetExtraBrowserOptions(self, options):
super(LoadingDesktopLayoutNg, self).SetExtraBrowserOptions(options)
options.AppendExtraBrowserArgs('--enable-blink-features=LayoutNG')
@classmethod
def Name(cls):
return 'loading.desktop_layout_ng'
# pylint: disable=protected-access
@benchmark.Info(emails=['cbiesinger@chromium.org'],
documentation_url='https://bit.ly/loading-benchmarks')
class LoadingMobileLayoutNg(loading.LoadingDesktop):
"""A benchmark that runs loading.mobile with the layoutng flag."""
def SetExtraBrowserOptions(self, options):
super(LoadingMobileLayoutNg, self).SetExtraBrowserOptions(options)
options.AppendExtraBrowserArgs('--enable-blink-features=LayoutNG')
@classmethod
def Name(cls):
return 'loading.mobile_layout_ng'
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