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.Enabled('android') |
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 @benchmark.Disabled('yosemite') # crbug.com/517806 |
22 class MemoryTop7Stress(perf_benchmark.PerfBenchmark): | 23 class MemoryTop7Stress(perf_benchmark.PerfBenchmark): |
23 """Use (recorded) real world web sites and measure memory consumption.""" | 24 """Use (recorded) real world web sites and measure memory consumption.""" |
24 test = memory.Memory | 25 test = memory.Memory |
25 page_set = page_sets.Top7StressPageSet | 26 page_set = page_sets.Top7StressPageSet |
26 | 27 |
27 @classmethod | 28 @classmethod |
28 def Name(cls): | 29 def Name(cls): |
29 return 'memory.top_7_stress' | 30 return 'memory.top_7_stress' |
30 | 31 |
31 | 32 |
(...skipping 28 matching lines...) Expand all Loading... |
60 | 61 |
61 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): | 62 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): |
62 """Use (recorded) real world web sites and measure memory consumption | 63 """Use (recorded) real world web sites and measure memory consumption |
63 of long running idle Gmail page in background tab""" | 64 of long running idle Gmail page in background tab""" |
64 test = memory.Memory | 65 test = memory.Memory |
65 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet | 66 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet |
66 | 67 |
67 @classmethod | 68 @classmethod |
68 def Name(cls): | 69 def Name(cls): |
69 return 'memory.long_running_idle_gmail_background' | 70 return 'memory.long_running_idle_gmail_background' |
OLD | NEW |