Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / perf / benchmarks / chrome_signin_startup.py
blobd3157febb928797a4679b1a7904c62a315dd33c1
1 # Copyright 2015 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 core import perf_benchmark
6 from measurements import startup
7 import page_sets
8 from telemetry import benchmark
11 class _StartupWarm(perf_benchmark.PerfBenchmark):
12 """Measures warm startup time with a clean profile."""
13 options = {'pageset_repeat': 5}
15 @classmethod
16 def Name(cls):
17 return 'chrome_signin_starup'
19 def CreatePageTest(self, options):
20 return startup.Startup(cold=False)
23 @benchmark.Enabled('has tabs')
24 # On android logging in is done through system accounts workflow.
25 @benchmark.Disabled('android',
26 'reference') # crbug.com/499312
27 class SigninStartup(_StartupWarm):
28 """Measures warm startup time of signing a profile into Chrome."""
29 page_set = page_sets.ChromeSigninPageSet
31 @classmethod
32 def Name(cls):
33 return 'startup.warm.chrome_signin'