| OLD | NEW |
| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 @classmethod | 224 @classmethod |
| 225 def Name(cls): | 225 def Name(cls): |
| 226 return 'memory.long_running_idle_gmail_tbmv2' | 226 return 'memory.long_running_idle_gmail_tbmv2' |
| 227 | 227 |
| 228 @classmethod | 228 @classmethod |
| 229 def ShouldDisable(cls, possible_browser): | 229 def ShouldDisable(cls, possible_browser): |
| 230 return cls.IsSvelte(possible_browser) # http://crbug.com/611167 | 230 return cls.IsSvelte(possible_browser) # http://crbug.com/611167 |
| 231 | 231 |
| 232 | 232 |
| 233 @benchmark.Enabled('has tabs') # http://crbug.com/612210 | 233 @benchmark.Enabled('has tabs') # http://crbug.com/612210 |
| 234 @benchmark.Disabled('android') # http://crbug.com/648396 | |
| 235 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark): | 234 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark): |
| 236 """Use (recorded) real world web sites and measure memory consumption | 235 """Use (recorded) real world web sites and measure memory consumption |
| 237 of long running idle Gmail page """ | 236 of long running idle Gmail page """ |
| 238 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet | 237 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet |
| 239 | 238 |
| 240 @classmethod | 239 @classmethod |
| 241 def Name(cls): | 240 def Name(cls): |
| 242 return 'memory.long_running_idle_gmail_background_tbmv2' | 241 return 'memory.long_running_idle_gmail_background_tbmv2' |
| 243 | 242 |
| 244 @classmethod | 243 @classmethod |
| 245 def ShouldDisable(cls, possible_browser): # http://crbug.com/616530 | 244 def ShouldDisable(cls, possible_browser): # http://crbug.com/616530 |
| 246 return cls.IsSvelte(possible_browser) | 245 return cls.IsSvelte(possible_browser) |
| OLD | NEW |