| 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 | 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.Disabled('android', 'snowleopard') # crbug.com/336913 | 10 @benchmark.Disabled |
| 11 class StartWithUrlCold(benchmark.Benchmark): | 11 class StartWithUrlCold(benchmark.Benchmark): |
| 12 """Measure time to start Chrome cold with startup URLs""" | 12 """Measure time to start Chrome cold with startup URLs""" |
| 13 tag = 'cold' | 13 tag = 'cold' |
| 14 test = startup.StartWithUrl | 14 test = startup.StartWithUrl |
| 15 page_set = page_sets.StartupPagesPageSet | 15 page_set = page_sets.StartupPagesPageSet |
| 16 options = {'cold': True, | 16 options = {'cold': True, |
| 17 'pageset_repeat': 5} | 17 'pageset_repeat': 5} |
| 18 | 18 |
| 19 | 19 |
| 20 @benchmark.Enabled('has tabs') | 20 @benchmark.Enabled('android', 'has tabs') |
| 21 class StartWithUrlWarm(benchmark.Benchmark): | 21 class StartWithUrlWarm(benchmark.Benchmark): |
| 22 """Measure time to start Chrome warm with startup URLs""" | 22 """Measure time to start Chrome warm with startup URLs""" |
| 23 tag = 'warm' | 23 tag = 'warm' |
| 24 test = startup.StartWithUrl | 24 test = startup.StartWithUrl |
| 25 page_set = page_sets.StartupPagesPageSet | 25 page_set = page_sets.StartupPagesPageSet |
| 26 options = {'warm': True, | 26 options = {'warm': True, |
| 27 'pageset_repeat': 10} | 27 'pageset_repeat': 10} |
| 28 | 28 |
| OLD | NEW |