Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: tools/perf/benchmarks/endure.py

Issue 187173002: Adding a Endure regression test to catch gmail memory issues (crbug.com/345702). (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/data/gmail_refresh.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry import test 5 from telemetry import test
6 6
7 from measurements import endure 7 from measurements import endure
8 8
9 9
10 class _EndureBenchmark(test.Test): 10 class _EndureBenchmark(test.Test):
11 test = endure.Endure 11 test = endure.Endure
12 # Default options for endure benchmarks. Could be overridden in subclasses. 12 # Default options for endure benchmarks. Could be overridden in subclasses.
13 options = { 13 options = {
14 'skip_navigate_on_repeat': True, 14 'skip_navigate_on_repeat': True,
15 'page_repeat_secs': 7200, 15 'page_repeat_secs': 7200,
16 'perf_stats_interval': '100s' 16 'perf_stats_interval': '100s'
17 } 17 }
18 18
19 class _EndureGmailRefresh(test.Test):
20 test = endure.Endure
21 # Default options for endure benchmarks. Could be overridden in subclasses.
22 options = {
23 'skip_navigate_on_repeat': True,
24 'page_repeat_secs': 300,
25 'perf_stats_interval': '1'
qyearsley 2014/03/05 00:44:27 Here, the number of times to repeat the page is sp
26 }
27
19 class EndureCalendarForwardBackward(_EndureBenchmark): 28 class EndureCalendarForwardBackward(_EndureBenchmark):
20 page_set = 'page_sets/calendar_forward_backward.json' 29 page_set = 'page_sets/calendar_forward_backward.json'
21 30
22 31
23 class EndureBrowserControl(_EndureBenchmark): 32 class EndureBrowserControl(_EndureBenchmark):
24 page_set = 'page_sets/browser_control.json' 33 page_set = 'page_sets/browser_control.json'
25 34
26 35
27 class EndureBrowserControlClick(_EndureBenchmark): 36 class EndureBrowserControlClick(_EndureBenchmark):
28 page_set = 'page_sets/browser_control_click.json' 37 page_set = 'page_sets/browser_control_click.json'
(...skipping 11 matching lines...) Expand all
40 page_set = 'page_sets/gmail_expand_collapse_conversation.json' 49 page_set = 'page_sets/gmail_expand_collapse_conversation.json'
41 50
42 51
43 class EndureIndexedDBOffline(_EndureBenchmark): 52 class EndureIndexedDBOffline(_EndureBenchmark):
44 page_set = 'page_sets/indexeddb_offline.json' 53 page_set = 'page_sets/indexeddb_offline.json'
45 54
46 55
47 class EndurePlusAltPostsPhotos(_EndureBenchmark): 56 class EndurePlusAltPostsPhotos(_EndureBenchmark):
48 page_set = 'page_sets/plus_alt_posts_photos.json' 57 page_set = 'page_sets/plus_alt_posts_photos.json'
49 58
59 class EndureGmailRefresh( _EndureGmailRefresh):
60 page_set = 'page_sets/endure_gmail_refresh.json'
qyearsley 2014/03/05 00:44:27 Since this is the only subclass of _EndureGmailRef
61
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/data/gmail_refresh.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698