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

Unified Diff: tools/perf/run_measurement

Issue 183893036: telemetry: deprecate GetModernizedTestName which is not used anymore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 10 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 | « no previous file | tools/telemetry/telemetry/page/page_test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/run_measurement
diff --git a/tools/perf/run_measurement b/tools/perf/run_measurement
index 618f52c895bc2504e6a4e023b09b07393d990069..b0dde577a89f315948ce41e289245f352e8738dd 100755
--- a/tools/perf/run_measurement
+++ b/tools/perf/run_measurement
@@ -25,23 +25,7 @@ def main():
print bootstrap.ListAllDepsPaths(CROS_BOOSTRAP_DEPS_PATH)
return 0
- old_benchmark_names = {
- }
-
- # There are bots that are hard-coded to run some specific named tests.
- # Convert these to the current naming conventions by overriding them
- # in the runner.
- class MeasurementRunner(page_measurement_runner.PageMeasurementRunner):
- def GetModernizedTestName(self, arg):
- if arg not in old_benchmark_names:
- return arg
- sys.stderr.write(
- 'An old name %s was given. Please use %s in the future.\n' % (
- arg,
- old_benchmark_names.get(arg)))
- return old_benchmark_names[arg]
-
- runner = MeasurementRunner()
+ runner = page_measurement_runner.PageMeasurementRunner()
env = environment.Environment([BASE_DIR])
return runner.Run(env)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/page/page_test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698