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

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

Issue 733303003: [Telemetry] Introduce shared_user_story_state for real. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: tools/telemetry/telemetry/benchmark.py
diff --git a/tools/telemetry/telemetry/benchmark.py b/tools/telemetry/telemetry/benchmark.py
index 4b0afb2b15c4e1413f9a35896d2009db0be08276..8621a26ded1e48840c08a1dc5131d9c6348e1982 100644
--- a/tools/telemetry/telemetry/benchmark.py
+++ b/tools/telemetry/telemetry/benchmark.py
@@ -13,7 +13,7 @@ from telemetry import decorators
from telemetry.core import browser_finder
from telemetry.core import command_line
from telemetry.core import util
-from telemetry.page import page_runner
+from telemetry.user_story import user_story_runner
from telemetry.page import page_set
from telemetry.page import page_test
from telemetry.page import test_expectations
@@ -102,7 +102,7 @@ class Benchmark(command_line.Command):
benchmark_metadata = self.GetMetadata()
results = results_options.CreateResults(benchmark_metadata, finder_options)
try:
- page_runner.Run(pt, us, expectations, finder_options, results)
+ user_story_runner.Run(pt, us, expectations, finder_options, results)
except page_test.TestNotSupportedOnPlatformFailure as failure:
logging.warning(str(failure))
@@ -215,8 +215,8 @@ class Benchmark(command_line.Command):
def AddCommandLineArgs(parser):
- page_runner.AddCommandLineArgs(parser)
+ user_story_runner.AddCommandLineArgs(parser)
def ProcessCommandLineArgs(parser, args):
- page_runner.ProcessCommandLineArgs(parser, args)
+ user_story_runner.ProcessCommandLineArgs(parser, args)
« no previous file with comments | « tools/perf/profile_creators/extensions_profile_creator.py ('k') | tools/telemetry/telemetry/core/browser_credentials.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698