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 | 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.Enabled('has tabs') |
| 11 @benchmark.Disabled('snowleopard') # crbug.com/336913 |
11 class StartupColdBlankPage(benchmark.Benchmark): | 12 class StartupColdBlankPage(benchmark.Benchmark): |
12 tag = 'cold' | 13 tag = 'cold' |
13 test = startup.Startup | 14 test = startup.Startup |
14 page_set = page_sets.BlankPageSet | 15 page_set = page_sets.BlankPageSet |
15 options = {'cold': True, | 16 options = {'cold': True, |
16 'pageset_repeat': 5} | 17 'pageset_repeat': 5} |
17 | 18 |
18 | 19 |
19 @benchmark.Enabled('has tabs') | 20 @benchmark.Enabled('has tabs') |
20 class StartupWarmBlankPage(benchmark.Benchmark): | 21 class StartupWarmBlankPage(benchmark.Benchmark): |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 57 |
57 | 58 |
58 @benchmark.Disabled('android') | 59 @benchmark.Disabled('android') |
59 class StartupWarmManyExtensions(benchmark.Benchmark): | 60 class StartupWarmManyExtensions(benchmark.Benchmark): |
60 tag = 'many_extensions_warm' | 61 tag = 'many_extensions_warm' |
61 test = startup.Startup | 62 test = startup.Startup |
62 page_set = page_sets.BlankPageSet | 63 page_set = page_sets.BlankPageSet |
63 generated_profile_archive = 'many_extensions_profile.zip' | 64 generated_profile_archive = 'many_extensions_profile.zip' |
64 options = {'warm': True, | 65 options = {'warm': True, |
65 'pageset_repeat': 20} | 66 'pageset_repeat': 20} |
OLD | NEW |