Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: tools/perf/benchmarks/memory.py

Issue 1066223002: Reland: Track memory consumption of SP on top 7 sites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 telemetry import benchmark 5 from telemetry import benchmark
6 6
7 from measurements import memory 7 from measurements import memory
8 import page_sets 8 import page_sets
9 9
10 10
11 @benchmark.Enabled('android') 11 @benchmark.Enabled('android')
12 class MemoryMobile(benchmark.Benchmark): 12 class MemoryMobile(benchmark.Benchmark):
13 test = memory.Memory 13 test = memory.Memory
14 page_set = page_sets.MobileMemoryPageSet 14 page_set = page_sets.MobileMemoryPageSet
15 15
16 @classmethod 16 @classmethod
17 def Name(cls): 17 def Name(cls):
18 return 'memory.mobile_memory' 18 return 'memory.mobile_memory'
19 19
20 20
21 class MemoryTop7Stress(benchmark.Benchmark): 21 class MemoryTop7Stress(benchmark.Benchmark):
22 """Use (recorded) real world web sites and measure memory consumption.""" 22 """Use (recorded) real world web sites and measure memory consumption."""
23 test = memory.Memory 23 test = memory.Memory
24 page_set = page_sets.Top7StressPageSet 24 page_set = page_sets.Top7StressPageSet
25 25
26 @classmethod 26 @classmethod
27 def Name(cls): 27 def Name(cls):
28 return 'memory.top_7_stress' 28 return 'memory.top_7_stress'
29
30 class MemoryTop7StressWithSlimmingPaint(benchmark.Benchmark):
Sami 2015/04/08 14:47:49 nit: two blank lines between toplevel items please
31 """Use (recorded) real world web sites and measure memory consumption,
32 with --enable--slimming-paint."""
33
34 test = memory.Memory
35 page_set = page_sets.Top7StressPageSet
36
37 def CustomizeBrowserOptions(self, options):
38 options.AppendExtraBrowserArgs(['--enable-slimming-paint'])
39
40 @classmethod
41 def Name(cls):
42 return 'memory.top_7_stress_slimming_paint'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698