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