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

Side by Side Diff: tools/perf/contrib/memory_long_running/memory_long_running.py

Issue 2874033005: Move memory.long_running_dual_browser_test benchmark to tools/perf/contrib/ (Closed)
Patch Set: Created 3 years, 7 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 | « tools/perf/contrib/memory_long_running/__init__.py ('k') | no next file » | 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 2015 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 benchmarks import memory
6 import page_sets
7
8 from telemetry import benchmark
9
10
11 # pylint: disable=protected-access
12 @benchmark.Owner(emails=['perezju@chromium.org'])
13 class LongRunningDualBrowserBenchmark(memory._MemoryInfra):
14 """Measures memory during prolonged usage of alternating browsers.
15
16 Same as memory.dual_browser_test, but the test is run for 60 iterations
17 and the browser is *not* restarted between page set repeats.
18 """
19 page_set = page_sets.DualBrowserStorySet
20 options = {'pageset_repeat': 60}
21
22 @classmethod
23 def Name(cls):
24 return 'memory.long_running_dual_browser_test'
25
26 @classmethod
27 def ShouldTearDownStateAfterEachStoryRun(cls):
28 return False
29
30 @classmethod
31 def ShouldTearDownStateAfterEachStorySetRun(cls):
32 return False
33
34 @classmethod
35 def ValueCanBeAddedPredicate(cls, value, is_first_result):
36 # TODO(crbug.com/610962): Remove this stopgap when the perf dashboard
37 # is able to cope with the data load generated by TBMv2 metrics.
38 return not memory._IGNORED_STATS_RE.search(value.name)
OLDNEW
« no previous file with comments | « tools/perf/contrib/memory_long_running/__init__.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698