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.Disabled('snowleopard') # crbug.com/336913 |
tonyg
2014/07/17 14:29:22
Does this benchmark open multiple tabs? If so, it
pasko
2014/07/18 12:37:02
I think it does not open multiple tabs, it's a bla
| |
11 class StartupColdBlankPage(benchmark.Benchmark): | 11 class StartupColdBlankPage(benchmark.Benchmark): |
12 tag = 'cold' | 12 tag = 'cold' |
13 test = startup.Startup | 13 test = startup.Startup |
14 page_set = page_sets.BlankPageSet | 14 page_set = page_sets.BlankPageSet |
15 options = {'cold': True, | 15 options = {'cold': True, |
16 'pageset_repeat': 5} | 16 'pageset_repeat': 5} |
17 | 17 |
18 | 18 |
19 @benchmark.Enabled('has tabs') | 19 @benchmark.Enabled('has tabs') |
20 class StartupWarmBlankPage(benchmark.Benchmark): | 20 class StartupWarmBlankPage(benchmark.Benchmark): |
21 tag = 'warm' | 21 tag = 'warm' |
22 test = startup.Startup | 22 test = startup.Startup |
23 page_set = page_sets.BlankPageSet | 23 page_set = page_sets.BlankPageSet |
24 options = {'warm': True, | 24 options = {'warm': True, |
25 'pageset_repeat': 20} | 25 'pageset_repeat': 20} |
26 | 26 |
27 | 27 |
28 @benchmark.Disabled('android', 'snowleopard') # crbug.com/336913 | 28 @benchmark.Disabled('snowleopard') # crbug.com/336913 |
tonyg
2014/07/17 14:29:22
Chrome on android doesn't support themes or extens
pasko
2014/07/18 12:37:02
sorry, that was mechanical, Undone.
| |
29 class StartupColdTheme(benchmark.Benchmark): | 29 class StartupColdTheme(benchmark.Benchmark): |
30 tag = 'theme_cold' | 30 tag = 'theme_cold' |
31 test = startup.Startup | 31 test = startup.Startup |
32 page_set = page_sets.BlankPageSet | 32 page_set = page_sets.BlankPageSet |
33 generated_profile_archive = 'theme_profile.zip' | 33 generated_profile_archive = 'theme_profile.zip' |
34 options = {'cold': True, | 34 options = {'cold': True, |
35 'pageset_repeat': 5} | 35 'pageset_repeat': 5} |
36 | 36 |
37 | 37 |
38 @benchmark.Disabled('android') | |
39 class StartupWarmTheme(benchmark.Benchmark): | 38 class StartupWarmTheme(benchmark.Benchmark): |
40 tag = 'theme_warm' | 39 tag = 'theme_warm' |
41 test = startup.Startup | 40 test = startup.Startup |
42 page_set = page_sets.BlankPageSet | 41 page_set = page_sets.BlankPageSet |
43 generated_profile_archive = 'theme_profile.zip' | 42 generated_profile_archive = 'theme_profile.zip' |
44 options = {'warm': True, | 43 options = {'warm': True, |
45 'pageset_repeat': 20} | 44 'pageset_repeat': 20} |
46 | 45 |
47 | 46 |
48 @benchmark.Disabled('android', 'snowleopard') # crbug.com/336913 | 47 @benchmark.Disabled('snowleopard') # crbug.com/336913 |
49 class StartupColdManyExtensions(benchmark.Benchmark): | 48 class StartupColdManyExtensions(benchmark.Benchmark): |
50 tag = 'many_extensions_cold' | 49 tag = 'many_extensions_cold' |
51 test = startup.Startup | 50 test = startup.Startup |
52 page_set = page_sets.BlankPageSet | 51 page_set = page_sets.BlankPageSet |
53 generated_profile_archive = 'many_extensions_profile.zip' | 52 generated_profile_archive = 'many_extensions_profile.zip' |
54 options = {'cold': True, | 53 options = {'cold': True, |
55 'pageset_repeat': 5} | 54 'pageset_repeat': 5} |
56 | 55 |
57 | 56 |
58 @benchmark.Disabled('android') | |
59 class StartupWarmManyExtensions(benchmark.Benchmark): | 57 class StartupWarmManyExtensions(benchmark.Benchmark): |
60 tag = 'many_extensions_warm' | 58 tag = 'many_extensions_warm' |
61 test = startup.Startup | 59 test = startup.Startup |
62 page_set = page_sets.BlankPageSet | 60 page_set = page_sets.BlankPageSet |
63 generated_profile_archive = 'many_extensions_profile.zip' | 61 generated_profile_archive = 'many_extensions_profile.zip' |
64 options = {'warm': True, | 62 options = {'warm': True, |
65 'pageset_repeat': 20} | 63 'pageset_repeat': 20} |
OLD | NEW |