Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / tools / perf / benchmarks / startup.py
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 from telemetry import test
5
6 from measurements import startup
7
8
9 @test.Disabled('snowleopard') # crbug.com/336913
10 class StartupColdBlankPage(test.Test):
11   tag = 'cold'
12   test = startup.Startup
13   page_set = 'page_sets/blank_page.json'
14   options = {'cold': True,
15              'pageset_repeat_iters': 5}
16
17
18 class StartupWarmBlankPage(test.Test):
19   tag = 'warm'
20   test = startup.Startup
21   page_set = 'page_sets/blank_page.json'
22   options = {'warm': True,
23              'pageset_repeat_iters': 20}
24
25 @test.Disabled('snowleopard') # crbug.com/336913
26 class StartupColdTheme(test.Test):
27   tag = 'theme_cold'
28   test = startup.Startup
29   page_set = 'page_sets/blank_page.json'
30   generated_profile_archive = 'theme_profile.zip'
31   options = {'cold': True,
32              'pageset_repeat_iters': 5}
33
34
35 class StartupWarmTheme(test.Test):
36   tag = 'theme_warm'
37   test = startup.Startup
38   page_set = 'page_sets/blank_page.json'
39   generated_profile_archive = 'theme_profile.zip'
40   options = {'warm': True,
41              'pageset_repeat_iters': 20}
42
43 @test.Disabled('snowleopard') # crbug.com/336913
44 class StartupColdManyExtensions(test.Test):
45   tag = 'many_extensions_cold'
46   test = startup.Startup
47   page_set = 'page_sets/blank_page.json'
48   generated_profile_archive = 'many_extensions_profile.zip'
49   options = {'cold': True,
50              'pageset_repeat_iters': 5}
51
52
53 class StartupWarmManyExtensions(test.Test):
54   tag = 'many_extensions_warm'
55   test = startup.Startup
56   page_set = 'page_sets/blank_page.json'
57   generated_profile_archive = 'many_extensions_profile.zip'
58   options = {'warm': True,
59              'pageset_repeat_iters': 20}