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.
5 from measurements
import startup
7 from telemetry
import benchmark
10 @benchmark.Enabled('has tabs')
11 @benchmark.Disabled('snowleopard') # crbug.com/336913
12 class StartupColdBlankPage(benchmark
.Benchmark
):
14 test
= startup
.Startup
15 page_set
= page_sets
.BlankPageSet
16 options
= {'cold': True,
20 @benchmark.Enabled('has tabs')
21 class StartupWarmBlankPage(benchmark
.Benchmark
):
23 test
= startup
.Startup
24 page_set
= page_sets
.BlankPageSet
25 options
= {'warm': True,
29 @benchmark.Disabled('android', 'snowleopard') # crbug.com/336913
30 class StartupColdTheme(benchmark
.Benchmark
):
32 test
= startup
.Startup
33 page_set
= page_sets
.BlankPageSet
34 generated_profile_archive
= 'theme_profile.zip'
35 options
= {'cold': True,
39 @benchmark.Disabled('android')
40 class StartupWarmTheme(benchmark
.Benchmark
):
42 test
= startup
.Startup
43 page_set
= page_sets
.BlankPageSet
44 generated_profile_archive
= 'theme_profile.zip'
45 options
= {'warm': True,
49 @benchmark.Disabled('android', 'snowleopard') # 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,
59 @benchmark.Disabled('android')
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,