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
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}
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
33 return 'startup.warm.chrome_signin'