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

Unified Diff: tools/telemetry/examples/rendering_microbenchmark_test.py

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 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 | « tools/telemetry/examples/list_available_browsers ('k') | tools/telemetry/examples/telemetry_perf_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/examples/rendering_microbenchmark_test.py
diff --git a/tools/telemetry/examples/rendering_microbenchmark_test.py b/tools/telemetry/examples/rendering_microbenchmark_test.py
index 4bb1ca692427f611fcfaaf5227d5cb5c6f36e0af..59e452a547f085c68a1fed0cfc66850530875917 100755
--- a/tools/telemetry/examples/rendering_microbenchmark_test.py
+++ b/tools/telemetry/examples/rendering_microbenchmark_test.py
@@ -8,10 +8,11 @@ import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
-import telemetry
+from telemetry.core import browser_finder
+from telemetry.core import browser_options
def Main(args):
- options = telemetry.BrowserOptions()
+ options = browser_options.BrowserOptions()
parser = options.CreateParser('rendering_microbenchmark_test.py <sitelist>')
# TODO(nduca): Add test specific options here, if any.
options, args = parser.parse_args(args)
@@ -28,10 +29,10 @@ def Main(args):
urls.append(url)
options.extra_browser_args.append('--enable-gpu-benchmarking')
- browser_to_create = telemetry.FindBrowser(options)
+ browser_to_create = browser_finder.FindBrowser(options)
if not browser_to_create:
sys.stderr.write('No browser found! Supported types: %s' %
- telemetry.GetAllAvailableBrowserTypes(options))
+ browser_finder.GetAllAvailableBrowserTypes(options))
return 255
with browser_to_create.Create() as b:
tab = b.tabs[0]
« no previous file with comments | « tools/telemetry/examples/list_available_browsers ('k') | tools/telemetry/examples/telemetry_perf_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698