OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 StartupColdBlankPage(test.Test): | 9 class StartWithUrlCold(test.Test): |
| 10 """Measure time to start Chrome cold with various pages""" |
10 tag = 'cold' | 11 tag = 'cold' |
11 test = startup.Startup | 12 test = startup.Startup |
12 page_set = 'page_sets/blank_page.json' | 13 page_set = 'page_sets/startup_pages.json' |
13 options = {'cold': True, | 14 options = {'cold': True, |
14 'pageset_repeat_iters': 5} | 15 'pageset_repeat_iters': 5} |
15 | 16 |
16 | 17 class StartWithUrlWarm(test.Test): |
17 class StartupWarmBlankPage(test.Test): | 18 """Measure time to start Chrome cold with various pages""" |
18 tag = 'warm' | 19 tag = 'warm' |
19 test = startup.Startup | 20 test = startup.Startup |
20 page_set = 'page_sets/blank_page.json' | 21 page_set = 'page_sets/startup_pages.json' |
21 options = {'warm': True, | 22 options = {'warm': True, |
22 'pageset_repeat_iters': 20} | 23 'pageset_repeat_iters': 10} |
| 24 |
OLD | NEW |