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

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

Issue 2123713006: [tools/perf] Switch memory_top_10_mobile to action_runner.MeasureMemory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: petr's comments Created 4 years, 4 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/memory_top_10_mobile.py » ('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 2015 The Chromium Authors. All rights reserved. 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 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 import re 5 import re
6 6
7 from core import perf_benchmark 7 from core import perf_benchmark
8 8
9 from telemetry import benchmark 9 from telemetry import benchmark
10 from telemetry.timeline import chrome_trace_category_filter 10 from telemetry.timeline import chrome_trace_category_filter
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 # is able to cope with the data load generated by TBMv2 metrics. 73 # is able to cope with the data load generated by TBMv2 metrics.
74 return not _IGNORED_STATS_RE.search(value.name) 74 return not _IGNORED_STATS_RE.search(value.name)
75 75
76 76
77 class MemoryBenchmarkTop10MobileStress(MemoryBenchmarkTop10Mobile): 77 class MemoryBenchmarkTop10MobileStress(MemoryBenchmarkTop10Mobile):
78 """Run top 10 mobile page set without closing/restarting the browser. 78 """Run top 10 mobile page set without closing/restarting the browser.
79 79
80 This benchmark is intended to stress-test the browser, catching memory leaks 80 This benchmark is intended to stress-test the browser, catching memory leaks
81 or possible crashes after interacting with the browser for a period of time. 81 or possible crashes after interacting with the browser for a period of time.
82 """ 82 """
83 page_set = page_sets.MemoryTop10MobileRealistic
84
83 @classmethod 85 @classmethod
84 def Name(cls): 86 def Name(cls):
85 return 'memory.top_10_mobile_stress' 87 return 'memory.top_10_mobile_stress'
86 88
87 @classmethod 89 @classmethod
88 def ShouldTearDownStateAfterEachStorySetRun(cls): 90 def ShouldTearDownStateAfterEachStorySetRun(cls):
89 return False 91 return False
90 92
91 93
92 # Benchmark disabled by default. Force to run with --also-run-disabled-tests. 94 # Benchmark disabled by default. Force to run with --also-run-disabled-tests.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 of long running idle Gmail page """ 224 of long running idle Gmail page """
223 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet 225 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet
224 226
225 @classmethod 227 @classmethod
226 def Name(cls): 228 def Name(cls):
227 return 'memory.long_running_idle_gmail_background_tbmv2' 229 return 'memory.long_running_idle_gmail_background_tbmv2'
228 230
229 @classmethod 231 @classmethod
230 def ShouldDisable(cls, possible_browser): # http://crbug.com/616530 232 def ShouldDisable(cls, possible_browser): # http://crbug.com/616530
231 return cls.IsSvelte(possible_browser) 233 return cls.IsSvelte(possible_browser)
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/memory_top_10_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698