Upstream version 5.34.104.0
[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 @test.Disabled('snowleopard') # crbug.com/336913
10 class StartWithUrlCold(test.Test):
11   """Measure time to start Chrome cold with startup URLs"""
12   tag = 'cold'
13   test = startup.StartWithUrl
14   page_set = 'page_sets/startup_pages.json'
15   options = {'cold': True,
16              'pageset_repeat_iters': 5}
17
18 class StartWithUrlWarm(test.Test):
19   """Measure time to start Chrome warm with startup URLs"""
20   tag = 'warm'
21   test = startup.StartWithUrl
22   page_set = 'page_sets/startup_pages.json'
23   options = {'warm': True,
24              'pageset_repeat_iters': 10}
25