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 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- tools/telemetry/examples/rendering_microbenchmark_test.py (revision 182999)
+++ tools/telemetry/examples/rendering_microbenchmark_test.py (working copy)
@@ -8,11 +8,10 @@
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
-from telemetry.core import browser_finder
-from telemetry.core import browser_options
+import telemetry
def Main(args):
- options = browser_options.BrowserOptions()
+ options = telemetry.BrowserOptions()
parser = options.CreateParser('rendering_microbenchmark_test.py <sitelist>')
# TODO(nduca): Add test specific options here, if any.
options, args = parser.parse_args(args)
@@ -29,10 +28,10 @@
urls.append(url)
options.extra_browser_args.append('--enable-gpu-benchmarking')
- browser_to_create = browser_finder.FindBrowser(options)
+ browser_to_create = telemetry.FindBrowser(options)
if not browser_to_create:
sys.stderr.write('No browser found! Supported types: %s' %
- browser_finder.GetAllAvailableBrowserTypes(options))
+ telemetry.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