Chromium Code Reviews| 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 |
| 11 | 11 |
| 12 @benchmark.Enabled('android') | 12 @benchmark.Disabled('android') # crbug.com/581147 |
|
nednguyen
2016/01/25 22:18:33
You want to do Disabled('all') instead.
| |
| 13 class MemoryMobile(perf_benchmark.PerfBenchmark): | 13 class MemoryMobile(perf_benchmark.PerfBenchmark): |
| 14 test = memory.Memory | 14 test = memory.Memory |
| 15 page_set = page_sets.MobileMemoryPageSet | 15 page_set = page_sets.MobileMemoryPageSet |
| 16 | 16 |
| 17 @classmethod | 17 @classmethod |
| 18 def Name(cls): | 18 def Name(cls): |
| 19 return 'memory.mobile_memory' | 19 return 'memory.mobile_memory' |
| 20 | 20 |
| 21 | 21 |
| 22 # Disable on yosemite due to crbug.com/517806 | 22 # Disable on yosemite due to crbug.com/517806 |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 52 @benchmark.Disabled('android') # crbug.com/542682 | 52 @benchmark.Disabled('android') # crbug.com/542682 |
| 53 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): | 53 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): |
| 54 """Use (recorded) real world web sites and measure memory consumption | 54 """Use (recorded) real world web sites and measure memory consumption |
| 55 of long running idle Gmail page in background tab""" | 55 of long running idle Gmail page in background tab""" |
| 56 test = memory.Memory | 56 test = memory.Memory |
| 57 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet | 57 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet |
| 58 | 58 |
| 59 @classmethod | 59 @classmethod |
| 60 def Name(cls): | 60 def Name(cls): |
| 61 return 'memory.long_running_idle_gmail_background' | 61 return 'memory.long_running_idle_gmail_background' |
| OLD | NEW |