fe1b9f28860f3860bf01980864cee4b443659b2a
[platform/framework/web/crosswalk.git] / src / tools / perf / benchmarks / start_with_url.py
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.
4 from telemetry import test
5
6 from measurements import startup
7
8
9 class StartWithUrlCold(test.Test):
10   """Measure time to start Chrome cold with startup URLs"""
11   tag = 'cold'
12   test = startup.StartWithUrl
13   page_set = 'page_sets/startup_pages.json'
14   options = {'cold': True,
15              'pageset_repeat_iters': 5}
16
17 class StartWithUrlWarm(test.Test):
18   """Measure time to start Chrome warm with startup URLs"""
19   tag = 'warm'
20   test = startup.StartWithUrl
21   page_set = 'page_sets/startup_pages.json'
22   options = {'warm': True,
23              'pageset_repeat_iters': 10}
24