[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / tools / perf / benchmarks / memory.py
blobb5eb386b4e08d1b1fbb2c9b89a775f18fab6e089
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.
5 from telemetry import benchmark
7 from measurements import memory
8 import page_sets
11 @benchmark.Enabled('android')
12 class MemoryMobile(benchmark.Benchmark):
13 test = memory.Memory
14 page_set = page_sets.MobileMemoryPageSet
16 @classmethod
17 def Name(cls):
18 return 'memory.mobile_memory'
21 class MemoryTop7Stress(benchmark.Benchmark):
22 """Use (recorded) real world web sites and measure memory consumption."""
23 test = memory.Memory
24 page_set = page_sets.Top7StressPageSet
26 @classmethod
27 def Name(cls):
28 return 'memory.top_7_stress'