| 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 tracing_category_filter | 10 from telemetry.timeline import tracing_category_filter |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 189 |
| 190 @benchmark.Enabled('has tabs') # http://crbug.com/612210 | 190 @benchmark.Enabled('has tabs') # http://crbug.com/612210 |
| 191 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark): | 191 class MemoryLongRunningIdleGmailBackground(_MemoryV8Benchmark): |
| 192 """Use (recorded) real world web sites and measure memory consumption | 192 """Use (recorded) real world web sites and measure memory consumption |
| 193 of long running idle Gmail page """ | 193 of long running idle Gmail page """ |
| 194 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet | 194 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet |
| 195 | 195 |
| 196 @classmethod | 196 @classmethod |
| 197 def Name(cls): | 197 def Name(cls): |
| 198 return 'memory.long_running_idle_gmail_background_tbmv2' | 198 return 'memory.long_running_idle_gmail_background_tbmv2' |
| 199 |
| 200 @classmethod |
| 201 def ShouldDisable(cls, possible_browser): # http://crbug.com/616530 |
| 202 return cls.IsSvelte(possible_browser) |
| OLD | NEW |