shaka-packager/tools/perf/benchmarks/blink_perf.py

20 lines
528 B
Python

# Copyright (c) 2013 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.
import os
from telemetry import test
from telemetry.core import util
from measurements import blink_perf
class BlinkPerfAll(test.Test):
test = blink_perf.BlinkPerf
def CreatePageSet(self, options):
path = os.path.join(
util.GetChromiumSrcDir(), 'third_party', 'WebKit', 'PerformanceTests')
return blink_perf.CreatePageSetFromPath(path)