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

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

Issue 2001133004: [tools/perf] MemoryLongRunningIdleGmailBackground requires tabs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | 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
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 tracing_category_filter 10 from telemetry.timeline import tracing_category_filter
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 @classmethod 157 @classmethod
158 def Name(cls): 158 def Name(cls):
159 return 'memory.long_running_idle_gmail_tbmv2' 159 return 'memory.long_running_idle_gmail_tbmv2'
160 160
161 @classmethod 161 @classmethod
162 def ShouldDisable(cls, possible_browser): 162 def ShouldDisable(cls, possible_browser):
163 return cls.IsSvelte(possible_browser) # http://crbug.com/611167 163 return cls.IsSvelte(possible_browser) # http://crbug.com/611167
164 164
165 165
166 @benchmark.Disabled('android-webview') # http://crbug.com/612210 166 @benchmark.Enabled('has tabs') # http://crbug.com/612210
167 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark): 167 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark):
168 """Use (recorded) real world web sites and measure memory consumption 168 """Use (recorded) real world web sites and measure memory consumption
169 of long running idle Gmail page """ 169 of long running idle Gmail page """
170 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet 170 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet
171 171
172 @classmethod 172 @classmethod
173 def Name(cls): 173 def Name(cls):
174 return 'memory.long_running_idle_gmail_background_tbmv2' 174 return 'memory.long_running_idle_gmail_background_tbmv2'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698