summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authormarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 10:54:26 +0000
committermarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-21 10:54:26 +0000
commit42dd66bbb25d02a21bf14a14fefb2418663463ad (patch)
tree8552cf0e68f98eba14034129f2cfa0df077901bd /tools/perf
parent5a062dc3ae4117eb1684b0bbea456266eec5b9fb (diff)
downloadchromium_src-42dd66bbb25d02a21bf14a14fefb2418663463ad.zip
chromium_src-42dd66bbb25d02a21bf14a14fefb2418663463ad.tar.gz
chromium_src-42dd66bbb25d02a21bf14a14fefb2418663463ad.tar.bz2
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
Diffstat (limited to 'tools/perf')
-rwxr-xr-xtools/perf/record_wpr13
1 files changed, 13 insertions, 0 deletions
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))