In endure benchmark: change perf_stats_interval to string.
[chromium-blink-merge.git] / tools / perf / benchmarks / endure.py
blobc222308cda707dcc00663f8d1b699b14a7c9fac4
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.
5 from telemetry import test
7 from measurements import endure
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'
20 class EndureCalendarForwardBackward(_EndureBenchmark):
21 page_set = 'page_sets/calendar_forward_backward.json'
24 class EndureBrowserControl(_EndureBenchmark):
25 page_set = 'page_sets/browser_control.json'
28 class EndureBrowserControlClick(_EndureBenchmark):
29 page_set = 'page_sets/browser_control_click.json'
32 class EndureGmailAltThreadlistConversation(_EndureBenchmark):
33 page_set = 'page_sets/gmail_alt_threadlist_conversation.json'
36 class EndureGmailAltTwoLabels(_EndureBenchmark):
37 page_set = 'page_sets/gmail_alt_two_labels.json'
40 class EndureGmailExpandCollapseConversation(_EndureBenchmark):
41 page_set = 'page_sets/gmail_expand_collapse_conversation.json'
44 class EndureIndexedDBOffline(_EndureBenchmark):
45 page_set = 'page_sets/indexeddb_offline.json'
48 class EndurePlusAltPostsPhotos(_EndureBenchmark):
49 page_set = 'page_sets/plus_alt_posts_photos.json'