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.Enabled('has tabs') | 10 @benchmark.Enabled('has tabs') |
11 @benchmark.Disabled('snowleopard') # crbug.com/336913 | 11 @benchmark.Disabled('snowleopard') # crbug.com/336913 |
12 class StartupColdBlankPage(benchmark.Benchmark): | 12 class StartupColdBlankPage(benchmark.Benchmark): |
13 tag = 'cold' | 13 tag = 'cold' |
14 test = startup.Startup | 14 test = startup.Startup |
15 page_set = page_sets.BlankPageSet | 15 page_set = page_sets.BlankPageSet |
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('has tabs') |
21 class StartupWarmBlankPage(benchmark.Benchmark): | 21 class StartupWarmBlankPage(benchmark.Benchmark): |
22 tag = 'warm' | 22 tag = 'warm' |
23 test = startup.Startup | 23 test = startup.Startup |
24 page_set = page_sets.BlankPageSet | 24 page_set = page_sets.BlankPageSet |
25 options = {'warm': True, | 25 options = {'warm': True, |
26 'pageset_repeat': 20} | 26 'pageset_repeat': 20} |
27 | 27 |
28 | 28 |
29 @benchmark.Disabled('android', 'snowleopard') # crbug.com/336913 | 29 @benchmark.Disabled # crbug.com/336913 |
30 class StartupColdTheme(benchmark.Benchmark): | 30 class StartupColdTheme(benchmark.Benchmark): |
31 tag = 'theme_cold' | 31 tag = 'theme_cold' |
32 test = startup.Startup | 32 test = startup.Startup |
33 page_set = page_sets.BlankPageSet | 33 page_set = page_sets.BlankPageSet |
34 generated_profile_archive = 'theme_profile.zip' | 34 generated_profile_archive = 'theme_profile.zip' |
35 options = {'cold': True, | 35 options = {'cold': True, |
36 'pageset_repeat': 5} | 36 'pageset_repeat': 5} |
37 | 37 |
38 | 38 |
39 @benchmark.Disabled('android') | 39 @benchmark.Disabled |
40 class StartupWarmTheme(benchmark.Benchmark): | 40 class StartupWarmTheme(benchmark.Benchmark): |
41 tag = 'theme_warm' | 41 tag = 'theme_warm' |
42 test = startup.Startup | 42 test = startup.Startup |
43 page_set = page_sets.BlankPageSet | 43 page_set = page_sets.BlankPageSet |
44 generated_profile_archive = 'theme_profile.zip' | 44 generated_profile_archive = 'theme_profile.zip' |
45 options = {'warm': True, | 45 options = {'warm': True, |
46 'pageset_repeat': 20} | 46 'pageset_repeat': 20} |
47 | 47 |
48 | 48 |
49 @benchmark.Disabled('android', 'snowleopard') # crbug.com/336913 | 49 @benchmark.Disabled # crbug.com/336913 |
50 class StartupColdManyExtensions(benchmark.Benchmark): | 50 class StartupColdManyExtensions(benchmark.Benchmark): |
51 tag = 'many_extensions_cold' | 51 tag = 'many_extensions_cold' |
52 test = startup.Startup | 52 test = startup.Startup |
53 page_set = page_sets.BlankPageSet | 53 page_set = page_sets.BlankPageSet |
54 generated_profile_archive = 'many_extensions_profile.zip' | 54 generated_profile_archive = 'many_extensions_profile.zip' |
55 options = {'cold': True, | 55 options = {'cold': True, |
56 'pageset_repeat': 5} | 56 'pageset_repeat': 5} |
57 | 57 |
58 | 58 |
59 @benchmark.Disabled('android') | 59 @benchmark.Disabled |
60 class StartupWarmManyExtensions(benchmark.Benchmark): | 60 class StartupWarmManyExtensions(benchmark.Benchmark): |
61 tag = 'many_extensions_warm' | 61 tag = 'many_extensions_warm' |
62 test = startup.Startup | 62 test = startup.Startup |
63 page_set = page_sets.BlankPageSet | 63 page_set = page_sets.BlankPageSet |
64 generated_profile_archive = 'many_extensions_profile.zip' | 64 generated_profile_archive = 'many_extensions_profile.zip' |
65 options = {'warm': True, | 65 options = {'warm': True, |
66 'pageset_repeat': 20} | 66 'pageset_repeat': 20} |
OLD | NEW |