Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: tools/telemetry/telemetry/perf_tests_helper.py

Issue 11779041: [telemetry] Add support for BenchmarkResults that vary from page to page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nitfix Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/telemetry/page_runner.py ('k') | tools/telemetry/telemetry/websocket.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/perf_tests_helper.py
diff --git a/tools/telemetry/telemetry/perf_tests_helper.py b/tools/telemetry/telemetry/perf_tests_helper.py
new file mode 100644
index 0000000000000000000000000000000000000000..8fa8963f0a5732f94802ec8020d581cfae4b6c21
--- /dev/null
+++ b/tools/telemetry/telemetry/perf_tests_helper.py
@@ -0,0 +1,25 @@
+# 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.
+from __future__ import absolute_import
+
+import os
+import sys
+
+def __init__():
+ path = os.path.join(os.path.dirname(__file__),
+ '../../../build/android')
+ path = os.path.abspath(path)
+ assert os.path.exists(os.path.join(path,
+ 'pylib', '__init__.py'))
+ if path not in sys.path:
+ sys.path.append(path)
+
+__init__()
+
+from pylib import perf_tests_helper # pylint: disable=F0401
+GeomMeanAndStdDevFromHistogram = \
+ perf_tests_helper.GeomMeanAndStdDevFromHistogram
+PrintPerfResult = \
+ perf_tests_helper.PrintPerfResult
+
« no previous file with comments | « tools/telemetry/telemetry/page_runner.py ('k') | tools/telemetry/telemetry/websocket.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698