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 19 matching lines...) Expand all Loading... |
30 page_set = page_sets.Top7StressPageSet | 30 page_set = page_sets.Top7StressPageSet |
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 class MemorySnappoints(perf_benchmark.PerfBenchmark): |
| 41 """Use a page with snappoints and measure memory consumption |
| 42 of it """ |
| 43 test = memory.Memory |
| 44 page_set = page_sets.SnappointsCasesPageSet |
| 45 |
| 46 @classmethod |
| 47 def Name(cls): |
| 48 return 'memory.snappoints' |
OLD | NEW |