1 # Copyright 2014 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.Disabled('android', 'snowleopard') # crbug.com/336913
11 class StartWithUrlCold(benchmark
.Benchmark
):
12 """Measure time to start Chrome cold with startup URLs"""
14 test
= startup
.StartWithUrl
15 page_set
= page_sets
.StartupPagesPageSet
16 options
= {'cold': True,
20 @benchmark.Enabled('has tabs')
21 class StartWithUrlWarm(benchmark
.Benchmark
):
22 """Measure time to start Chrome warm with startup URLs"""
24 test
= startup
.StartWithUrl
25 page_set
= page_sets
.StartupPagesPageSet
26 options
= {'warm': True,