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

Unified Diff: tools/perf/benchmarks/start_with_url.py

Issue 637153002: telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress pylint E1003 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/perf/benchmarks/start_with_url.py
diff --git a/tools/perf/benchmarks/start_with_url.py b/tools/perf/benchmarks/start_with_url.py
index 4f6f95f0b64686baa7039cfc27631410e44a235f..f9c199b6a4f80f7693929a2f746de1aaff1df206 100644
--- a/tools/perf/benchmarks/start_with_url.py
+++ b/tools/perf/benchmarks/start_with_url.py
@@ -12,10 +12,9 @@ from telemetry import benchmark
class StartWithUrlCold(benchmark.Benchmark):
"""Measure time to start Chrome cold with startup URLs"""
tag = 'cold'
- test = startup.StartWithUrl
+ test = startup.StartWithUrl(cold=True)
page_set = page_sets.StartupPagesPageSet
- options = {'cold': True,
- 'pageset_repeat': 5}
+ options = {'pageset_repeat': 5}
@benchmark.Enabled('has tabs')
@@ -23,8 +22,6 @@ class StartWithUrlCold(benchmark.Benchmark):
class StartWithUrlWarm(benchmark.Benchmark):
"""Measure time to start Chrome warm with startup URLs"""
tag = 'warm'
- test = startup.StartWithUrl
+ test = startup.StartWithUrl(cold=False)
page_set = page_sets.StartupPagesPageSet
- options = {'warm': True,
- 'pageset_repeat': 10}
-
+ options = {'pageset_repeat': 10}

Powered by Google App Engine
This is Rietveld 408576698