From 42dd66bbb25d02a21bf14a14fefb2418663463ad Mon Sep 17 00:00:00 2001 From: "marja@chromium.org" Date: Wed, 21 Nov 2012 10:54:26 +0000 Subject: Telemetry: add a script for recording a .wpr for a given page set. The .wpr must support all interactions which are defined for the pages. BUG=158323 Review URL: https://codereview.chromium.org/11280026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169020 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/perf/record_wpr | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tools/perf/record_wpr (limited to 'tools/perf') diff --git a/tools/perf/record_wpr b/tools/perf/record_wpr new file mode 100755 index 0000000..992d673 --- /dev/null +++ b/tools/perf/record_wpr @@ -0,0 +1,13 @@ +#!/usr/bin/env python +# Copyright (c) 2012 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 +import sys + +import perf_tools +from telemetry import record_wpr + +if __name__ == '__main__': + benchmark_dir = os.path.join(os.path.dirname(__file__), 'perf_tools') + sys.exit(record_wpr.Main(benchmark_dir)) -- cgit v1.1