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