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 5from telemetry import test 6 7from measurements import endure 8 9 10class _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 20class EndureCalendarForwardBackward(_EndureBenchmark): 21 page_set = 'page_sets/calendar_forward_backward.json' 22 23 24class EndureBrowserControl(_EndureBenchmark): 25 page_set = 'page_sets/browser_control.json' 26 27 28class EndureBrowserControlClick(_EndureBenchmark): 29 page_set = 'page_sets/browser_control_click.json' 30 31 32class EndureGmailAltThreadlistConversation(_EndureBenchmark): 33 page_set = 'page_sets/gmail_alt_threadlist_conversation.json' 34 35 36class EndureGmailAltTwoLabels(_EndureBenchmark): 37 page_set = 'page_sets/gmail_alt_two_labels.json' 38 39 40class EndureGmailExpandCollapseConversation(_EndureBenchmark): 41 page_set = 'page_sets/gmail_expand_collapse_conversation.json' 42 43 44class EndureIndexedDBOffline(_EndureBenchmark): 45 page_set = 'page_sets/indexeddb_offline.json' 46 47 48class EndurePlusAltPostsPhotos(_EndureBenchmark): 49 page_set = 'page_sets/plus_alt_posts_photos.json' 50 51