summaryrefslogtreecommitdiffstats
path: root/tools/perf/benchmarks/startup.py
blob: 14cdb112b361edcd5239eb2a4b43370d3415ae91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry import test

from measurements import startup


@test.Disabled('snowleopard') # crbug.com/336913
class StartupColdBlankPage(test.Test):
  tag = 'cold'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  options = {'cold': True,
             'pageset_repeat': 5}


class StartupWarmBlankPage(test.Test):
  tag = 'warm'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  options = {'warm': True,
             'pageset_repeat': 20}

@test.Disabled('snowleopard') # crbug.com/336913
class StartupColdTheme(test.Test):
  tag = 'theme_cold'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  generated_profile_archive = 'theme_profile.zip'
  options = {'cold': True,
             'pageset_repeat': 5}


class StartupWarmTheme(test.Test):
  tag = 'theme_warm'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  generated_profile_archive = 'theme_profile.zip'
  options = {'warm': True,
             'pageset_repeat': 20}

@test.Disabled('snowleopard') # crbug.com/336913
class StartupColdManyExtensions(test.Test):
  tag = 'many_extensions_cold'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  generated_profile_archive = 'many_extensions_profile.zip'
  options = {'cold': True,
             'pageset_repeat': 5}


class StartupWarmManyExtensions(test.Test):
  tag = 'many_extensions_warm'
  test = startup.Startup
  page_set = 'page_sets/blank_page.json'
  generated_profile_archive = 'many_extensions_profile.zip'
  options = {'warm': True,
             'pageset_repeat': 20}