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

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

Issue 616363002: Kill endure benchmark and all that related to it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes that remove --page-repeat Created 6 years, 2 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/measurements/endure.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 """The Endure benchmarks measure memory performance over a period of time.
6
7 In each Endure benchmark, one page action is performed repeatedly and memory
8 usage is measured periodically. The specific page actions are defined in the
9 page sets, and the statistics that are gathered are determined by the Endure
10 measurement class.
11 """
12
13 from measurements import endure
14 import page_sets
15 from telemetry import benchmark
16
17
18 class _EndureBenchmark(benchmark.Benchmark):
19 """Base class which sets options for endure benchmarks below."""
20 test = endure.Endure
21 # Default options for endure benchmarks. Could be overridden in subclasses.
22 options = {
23 # Depending on the page and the actions performed on the page,
24 # 1000 iterations should be between 30 and 60 minutes.
25 'page_repeat': 1000,
26 # One sample per 10 iterations -> 200 points per run.
27 'perf_stats_interval': 10
28 }
29
30
31 @benchmark.Disabled
32 class EndureCalendarForwardBackward(_EndureBenchmark):
33 page_set = page_sets.CalendarForwardBackwardPageSet
34
35
36 @benchmark.Disabled
37 class EndureBrowserControl(_EndureBenchmark):
38 page_set = page_sets.BrowserControlPageSet
39
40
41 @benchmark.Disabled
42 class EndureBrowserControlClick(_EndureBenchmark):
43 page_set = page_sets.BrowserControlClickPageSet
44
45
46 @benchmark.Disabled
47 class EndureGmailAltThreadlistConversation(_EndureBenchmark):
48 page_set = page_sets.GmailAltThreadlistConversationPageSet
49
50
51 @benchmark.Disabled
52 class EndureGmailAltTwoLabels(_EndureBenchmark):
53 page_set = page_sets.GmailAltTwoLabelsPageSet
54
55
56 @benchmark.Disabled
57 class EndureGmailExpandCollapseConversation(_EndureBenchmark):
58 page_set = page_sets.GmailExpandCollapseConversationPageSet
59
60
61 @benchmark.Disabled
62 class EndureIndexedDBOffline(_EndureBenchmark):
63 page_set = page_sets.IndexeddbOfflinePageSet
64
65
66 @benchmark.Disabled
67 class EndurePlusAltPostsPhotos(_EndureBenchmark):
68 page_set = page_sets.PlusAltPostsPhotosPageSet
69
OLDNEW
« no previous file with comments | « no previous file | tools/perf/measurements/endure.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698