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

Side by Side Diff: tools/perf/benchmarks/start_with_url.py

Issue 737403002: Revert of telemetry: Remove command line args from page test (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 unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/skpicture_printer.py ('k') | tools/perf/benchmarks/startup.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from measurements import startup 5 from measurements import startup
6 import page_sets 6 import page_sets
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 @benchmark.Enabled('has tabs') 10 @benchmark.Enabled('has tabs')
11 @benchmark.Disabled('chromeos', 'linux', 'mac', 'win') 11 @benchmark.Disabled('chromeos', 'linux', 'mac', 'win')
12 class StartWithUrlCold(benchmark.Benchmark): 12 class StartWithUrlCold(benchmark.Benchmark):
13 """Measure time to start Chrome cold with startup URLs""" 13 """Measure time to start Chrome cold with startup URLs"""
14 tag = 'cold' 14 tag = 'cold'
15 test = startup.StartWithUrl(cold=True) 15 test = startup.StartWithUrl
16 page_set = page_sets.StartupPagesPageSet 16 page_set = page_sets.StartupPagesPageSet
17 options = {'pageset_repeat': 5} 17 options = {'cold': True,
18 'pageset_repeat': 5}
18 19
19 20
20 @benchmark.Enabled('has tabs') 21 @benchmark.Enabled('has tabs')
21 @benchmark.Disabled('chromeos', 'linux', 'mac', 'win') 22 @benchmark.Disabled('chromeos', 'linux', 'mac', 'win')
22 class StartWithUrlWarm(benchmark.Benchmark): 23 class StartWithUrlWarm(benchmark.Benchmark):
23 """Measure time to start Chrome warm with startup URLs""" 24 """Measure time to start Chrome warm with startup URLs"""
24 tag = 'warm' 25 tag = 'warm'
25 test = startup.StartWithUrl(cold=False) 26 test = startup.StartWithUrl
26 page_set = page_sets.StartupPagesPageSet 27 page_set = page_sets.StartupPagesPageSet
27 options = {'pageset_repeat': 10} 28 options = {'warm': True,
29 'pageset_repeat': 10}
30
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/skpicture_printer.py ('k') | tools/perf/benchmarks/startup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698