OLD | NEW |
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 from telemetry import test | 4 from telemetry import test |
5 | 5 |
6 from measurements import startup | 6 from measurements import startup |
7 | 7 |
8 | 8 |
9 class StartWithUrlCold(test.Test): | 9 class StartWithUrlCold(test.Test): |
10 """Measure time to start Chrome cold with startup URLs""" | 10 """Measure time to start Chrome cold with startup URLs""" |
11 tag = 'cold' | 11 tag = 'cold' |
12 test = startup.Startup | 12 test = startup.StartWithUrl |
13 page_set = 'page_sets/startup_pages.json' | 13 page_set = 'page_sets/startup_pages.json' |
14 options = {'cold': True, | 14 options = {'cold': True, |
15 'pageset_repeat_iters': 5} | 15 'pageset_repeat_iters': 5} |
16 | 16 |
17 class StartWithUrlWarm(test.Test): | 17 class StartWithUrlWarm(test.Test): |
18 """Measure time to start Chrome warm with startup URLs""" | 18 """Measure time to start Chrome warm with startup URLs""" |
19 tag = 'warm' | 19 tag = 'warm' |
20 test = startup.Startup | 20 test = startup.StartWithUrl |
21 page_set = 'page_sets/startup_pages.json' | 21 page_set = 'page_sets/startup_pages.json' |
22 options = {'warm': True, | 22 options = {'warm': True, |
23 'pageset_repeat_iters': 10} | 23 'pageset_repeat_iters': 10} |
24 | 24 |
OLD | NEW |