| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 from core import perf_benchmark | |
| 6 | |
| 7 from measurements import memory | |
| 8 import page_sets | |
| 9 from telemetry import benchmark | |
| 10 | |
| 11 | |
| 12 @benchmark.Enabled('android') | |
| 13 class MemoryMobile(perf_benchmark.PerfBenchmark): | |
| 14 test = memory.Memory | |
| 15 page_set = page_sets.MobileMemoryPageSet | |
| 16 | |
| 17 @classmethod | |
| 18 def Name(cls): | |
| 19 return 'memory.mobile_memory' | |
| 20 | |
| 21 | |
| 22 # Disable on yosemite due to crbug.com/517806 | |
| 23 # Disable on reference due to crbug.com/539728 | |
| 24 # Disable on all Mac as it's also failing on 10.11 and retina. | |
| 25 # crbug.com/555045 | |
| 26 # Disabling on WebView due to crbug.com/621489 | |
| 27 @benchmark.Disabled('mac', 'android-webview', 'reference') | |
| 28 class MemoryTop7Stress(perf_benchmark.PerfBenchmark): | |
| 29 """Use (recorded) real world web sites and measure memory consumption.""" | |
| 30 test = memory.Memory | |
| 31 page_set = page_sets.Top7StressPageSet | |
| 32 | |
| 33 @classmethod | |
| 34 def Name(cls): | |
| 35 return 'memory.top_7_stress' | |
| 36 | |
| 37 @classmethod | |
| 38 def ShouldDisable(cls, possible_browser): | |
| 39 return cls.IsSvelte(possible_browser) # http://crbug.com/555092 | |
| 40 | |
| OLD | NEW |