- add sources.
[platform/framework/web/crosswalk.git] / src / tools / perf / benchmarks / endure.py
1 # Copyright 2013 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
5 from telemetry import test
6
7 from measurements import endure
8
9
10 class _EndureBenchmark(test.Test):
11   test = endure.Endure
12   # Default options for endure benchmarks. Could be overridden in subclasses.
13   options = {
14       'output_format': 'csv',
15       'skip_navigate_on_repeat': True,
16       'page_repeat_secs': 7200,
17       'perf_stats_interval': '100s'
18   }
19
20 class EndureCalendarForwardBackward(_EndureBenchmark):
21   page_set = 'page_sets/calendar_forward_backward.json'
22
23
24 class EndureBrowserControl(_EndureBenchmark):
25   page_set = 'page_sets/browser_control.json'
26
27
28 class EndureBrowserControlClick(_EndureBenchmark):
29   page_set = 'page_sets/browser_control_click.json'
30
31
32 class EndureGmailAltThreadlistConversation(_EndureBenchmark):
33   page_set = 'page_sets/gmail_alt_threadlist_conversation.json'
34
35
36 class EndureGmailAltTwoLabels(_EndureBenchmark):
37   page_set = 'page_sets/gmail_alt_two_labels.json'
38
39
40 class EndureGmailExpandCollapseConversation(_EndureBenchmark):
41   page_set = 'page_sets/gmail_expand_collapse_conversation.json'
42
43
44 class EndureIndexedDBOffline(_EndureBenchmark):
45   page_set = 'page_sets/indexeddb_offline.json'
46
47
48 class EndurePlusAltPostsPhotos(_EndureBenchmark):
49   page_set = 'page_sets/plus_alt_posts_photos.json'
50