Commit 03114d4c authored by Christian Biesinger's avatar Christian Biesinger Committed by Commit Bot

[layoutng] Add contrib layoutng benchmark

This just runs blink_perf.layout with the NG flag.

TESTED=tools/perf/run_benchmark run blink_perf.layout_ng --browser=release -v
(and verified that the commandline includes the layoutng flag)

Change-Id: I4302330462d52291d96d3d8509498337e267a1f4
Reviewed-on: https://chromium-review.googlesource.com/1185641Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Reviewed-by: default avatarAnnie Sullivan <sullivan@chromium.org>
Commit-Queue: Annie Sullivan <sullivan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#585475}
parent c002010f
eae@chromium.org
cbiesinger@chromium.org
# 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 blink_perf
from telemetry import benchmark
# pylint: disable=protected-access
@benchmark.Info(emails=['cbiesinger@chromium.org'],
documentation_url='https://bit.ly/blink-perf-benchmarks')
class BlinkPerfLayoutNg(blink_perf._BlinkPerfBenchmark):
subdir = 'layout'
def SetExtraBrowserOptions(self, options):
super(BlinkPerfLayoutNg, self).SetExtraBrowserOptions(options)
options.AppendExtraBrowserArgs('--enable-blink-features=LayoutNG')
@classmethod
def Name(cls):
return 'blink_perf.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