summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf_tools
diff options
context:
space:
mode:
authordtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 08:17:22 +0000
committerdtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 08:17:22 +0000
commiteea2e67034a223c74ce0e8c0517f6066cc1ee143 (patch)
tree64c4082a9d8e3c0df8fa64f689c7fe7a09b0edbb /tools/perf/perf_tools
parent5971ec68da0d265e7d87352dfc4cec23e65c4a2f (diff)
downloadchromium_src-eea2e67034a223c74ce0e8c0517f6066cc1ee143.zip
chromium_src-eea2e67034a223c74ce0e8c0517f6066cc1ee143.tar.gz
chromium_src-eea2e67034a223c74ce0e8c0517f6066cc1ee143.tar.bz2
[chrome_remote_control] Rename chrome_remote_control to telemetry.
TBR=nduca@chromium.org TBR=torne@chromium.org BUG=159613 TEST=./run_tests in tools/telemetry and tools/perf show no regressions. (They're not passing right now.) greps for "crc", "chrome_remote_control", and related terms return no results. Review URL: https://codereview.chromium.org/11361165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/perf/perf_tools')
-rw-r--r--tools/perf/perf_tools/__init__.py8
-rw-r--r--tools/perf/perf_tools/first_paint_time_benchmark.py4
-rw-r--r--tools/perf/perf_tools/first_paint_time_benchmark_unittest.py2
-rw-r--r--tools/perf/perf_tools/jsgamebench.py4
-rw-r--r--tools/perf/perf_tools/kraken.py4
-rw-r--r--tools/perf/perf_tools/painting_benchmark.py2
-rw-r--r--tools/perf/perf_tools/robohornetpro.py4
-rw-r--r--tools/perf/perf_tools/scrolling_benchmark.py4
-rw-r--r--tools/perf/perf_tools/scrolling_benchmark_unittest.py4
-rwxr-xr-xtools/perf/perf_tools/skpicture_printer.py2
-rwxr-xr-xtools/perf/perf_tools/skpicture_printer_unittest.py2
-rw-r--r--tools/perf/perf_tools/spaceport.py4
12 files changed, 22 insertions, 22 deletions
diff --git a/tools/perf/perf_tools/__init__.py b/tools/perf/perf_tools/__init__.py
index 525a274..9106907 100644
--- a/tools/perf/perf_tools/__init__.py
+++ b/tools/perf/perf_tools/__init__.py
@@ -6,9 +6,9 @@ import os
import sys
def Init():
- crc_path = os.path.join(os.path.dirname(__file__),
- '..', '..', 'chrome_remote_control')
- absolute_crc_path = os.path.abspath(crc_path)
- sys.path.append(absolute_crc_path)
+ telemetry_path = os.path.join(os.path.dirname(__file__),
+ '..', '..', 'telemetry')
+ absolute_telemetry_path = os.path.abspath(telemetry_path)
+ sys.path.append(absolute_telemetry_path)
Init()
diff --git a/tools/perf/perf_tools/first_paint_time_benchmark.py b/tools/perf/perf_tools/first_paint_time_benchmark.py
index ceab188..b781fee 100644
--- a/tools/perf/perf_tools/first_paint_time_benchmark.py
+++ b/tools/perf/perf_tools/first_paint_time_benchmark.py
@@ -4,8 +4,8 @@
# The test takes a list of URLs through stdin and prints results in CSV format.
# Example: python run_scroll_test.py < data/urls.txt > test_results.csv
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
class FirstPaintTimeBenchmark(multi_page_benchmark.MultiPageBenchmark):
def MeasurePage(self, _, tab, results):
diff --git a/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py b/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
index 60a549d..a4e8869 100644
--- a/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
+++ b/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
@@ -1,7 +1,7 @@
# 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 chrome_remote_control import multi_page_benchmark_unittest_base
+from telemetry import multi_page_benchmark_unittest_base
from perf_tools import first_paint_time_benchmark
class FirstPaintTimeBenchmarkUnitTest(
diff --git a/tools/perf/perf_tools/jsgamebench.py b/tools/perf/perf_tools/jsgamebench.py
index e2df1d2..347edf0 100644
--- a/tools/perf/perf_tools/jsgamebench.py
+++ b/tools/perf/perf_tools/jsgamebench.py
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
class JsGameBench(multi_page_benchmark.MultiPageBenchmark):
def MeasurePage(self, _, tab, results):
diff --git a/tools/perf/perf_tools/kraken.py b/tools/perf/perf_tools/kraken.py
index a854634..cd6507b 100644
--- a/tools/perf/perf_tools/kraken.py
+++ b/tools/perf/perf_tools/kraken.py
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
def _Mean(l):
return float(sum(l)) / len(l) if len(l) > 0 else 0.0
diff --git a/tools/perf/perf_tools/painting_benchmark.py b/tools/perf/perf_tools/painting_benchmark.py
index cde8243..7bd4557 100644
--- a/tools/perf/perf_tools/painting_benchmark.py
+++ b/tools/perf/perf_tools/painting_benchmark.py
@@ -1,7 +1,7 @@
# 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 chrome_remote_control import multi_page_benchmark
+from telemetry import multi_page_benchmark
from perf_tools import scrolling_benchmark
class PaintingBenchmark(scrolling_benchmark.ScrollingBenchmark):
diff --git a/tools/perf/perf_tools/robohornetpro.py b/tools/perf/perf_tools/robohornetpro.py
index ab06ace..59632c3 100644
--- a/tools/perf/perf_tools/robohornetpro.py
+++ b/tools/perf/perf_tools/robohornetpro.py
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
class RobohornetPro(multi_page_benchmark.MultiPageBenchmark):
def CustomizeBrowserOptions(self, options):
diff --git a/tools/perf/perf_tools/scrolling_benchmark.py b/tools/perf/perf_tools/scrolling_benchmark.py
index b25ca53..0dfeb43 100644
--- a/tools/perf/perf_tools/scrolling_benchmark.py
+++ b/tools/perf/perf_tools/scrolling_benchmark.py
@@ -3,8 +3,8 @@
# found in the LICENSE file.
import os
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
class DidNotScrollException(multi_page_benchmark.MeasurementFailure):
def __init__(self):
diff --git a/tools/perf/perf_tools/scrolling_benchmark_unittest.py b/tools/perf/perf_tools/scrolling_benchmark_unittest.py
index 7848517..e10bd4b 100644
--- a/tools/perf/perf_tools/scrolling_benchmark_unittest.py
+++ b/tools/perf/perf_tools/scrolling_benchmark_unittest.py
@@ -1,8 +1,8 @@
# 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 chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import multi_page_benchmark_unittest_base
+from telemetry import multi_page_benchmark
+from telemetry import multi_page_benchmark_unittest_base
from perf_tools import scrolling_benchmark
class ScrollingBenchmarkUnitTest(
diff --git a/tools/perf/perf_tools/skpicture_printer.py b/tools/perf/perf_tools/skpicture_printer.py
index 33a4974..ec55df8 100755
--- a/tools/perf/perf_tools/skpicture_printer.py
+++ b/tools/perf/perf_tools/skpicture_printer.py
@@ -5,7 +5,7 @@
import os
import re
-from chrome_remote_control import multi_page_benchmark
+from telemetry import multi_page_benchmark
_JS = 'chrome.gpuBenchmarking.printToSkPicture("{0}");'
diff --git a/tools/perf/perf_tools/skpicture_printer_unittest.py b/tools/perf/perf_tools/skpicture_printer_unittest.py
index 6aaac7f..285b48c 100755
--- a/tools/perf/perf_tools/skpicture_printer_unittest.py
+++ b/tools/perf/perf_tools/skpicture_printer_unittest.py
@@ -6,7 +6,7 @@ import os
import tempfile
import shutil
-from chrome_remote_control import multi_page_benchmark_unittest_base
+from telemetry import multi_page_benchmark_unittest_base
from perf_tools import skpicture_printer
class SkPicturePrinterUnitTest(
diff --git a/tools/perf/perf_tools/spaceport.py b/tools/perf/perf_tools/spaceport.py
index b248459..363e523 100644
--- a/tools/perf/perf_tools/spaceport.py
+++ b/tools/perf/perf_tools/spaceport.py
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from chrome_remote_control import multi_page_benchmark
-from chrome_remote_control import util
+from telemetry import multi_page_benchmark
+from telemetry import util
class SpaceportBenchmark(multi_page_benchmark.MultiPageBenchmark):
def CustomizeBrowserOptions(self, options):