| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from core import perf_benchmark | 5 from core import perf_benchmark |
| 6 | 6 |
| 7 from measurements import memory | 7 from measurements import memory |
| 8 import page_sets | 8 import page_sets |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 @classmethod | 32 @classmethod |
| 33 def Name(cls): | 33 def Name(cls): |
| 34 return 'memory.top_7_stress' | 34 return 'memory.top_7_stress' |
| 35 | 35 |
| 36 @classmethod | 36 @classmethod |
| 37 def ShouldDisable(cls, possible_browser): | 37 def ShouldDisable(cls, possible_browser): |
| 38 return cls.IsSvelte(possible_browser) # http://crbug.com/555092 | 38 return cls.IsSvelte(possible_browser) # http://crbug.com/555092 |
| 39 | 39 |
| 40 | 40 |
| 41 class MemoryLongRunningIdleGmail(perf_benchmark.PerfBenchmark): | |
| 42 """Use (recorded) real world web sites and measure memory consumption | |
| 43 of long running idle Gmail page """ | |
| 44 test = memory.Memory | |
| 45 page_set = page_sets.LongRunningIdleGmailPageSet | |
| 46 | |
| 47 @classmethod | |
| 48 def Name(cls): | |
| 49 return 'memory.long_running_idle_gmail' | |
| 50 | |
| 51 | |
| 52 @benchmark.Disabled('android') # crbug.com/542682 | 41 @benchmark.Disabled('android') # crbug.com/542682 |
| 53 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): | 42 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): |
| 54 """Use (recorded) real world web sites and measure memory consumption | 43 """Use (recorded) real world web sites and measure memory consumption |
| 55 of long running idle Gmail page in background tab""" | 44 of long running idle Gmail page in background tab""" |
| 56 test = memory.Memory | 45 test = memory.Memory |
| 57 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet | 46 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet |
| 58 | 47 |
| 59 @classmethod | 48 @classmethod |
| 60 def Name(cls): | 49 def Name(cls): |
| 61 return 'memory.long_running_idle_gmail_background' | 50 return 'memory.long_running_idle_gmail_background' |
| OLD | NEW |