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

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

Issue 1773103002: Replace memory.long_running_idle_gmail with TBM based version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to memory-infra Created 4 years, 9 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
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 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
perezju 2016/03/10 09:34:36 nit: I guess this blank line should stay there
ulan 2016/03/10 11:09:25 Done.
12 @benchmark.Disabled('all') # crbug.com/581147 11 @benchmark.Disabled('all') # crbug.com/581147
13 class MemoryMobile(perf_benchmark.PerfBenchmark): 12 class MemoryMobile(perf_benchmark.PerfBenchmark):
14 test = memory.Memory 13 test = memory.Memory
15 page_set = page_sets.MobileMemoryPageSet 14 page_set = page_sets.MobileMemoryPageSet
16 15
17 @classmethod 16 @classmethod
18 def Name(cls): 17 def Name(cls):
19 return 'memory.mobile_memory' 18 return 'memory.mobile_memory'
20 19
21 20
22 # Disable on yosemite due to crbug.com/517806 21 # Disable on yosemite due to crbug.com/517806
23 # Disable on reference due to crbug.com/539728 22 # Disable on reference due to crbug.com/539728
24 # Disable on all Mac as it's also failing on 10.11 and retina. 23 # Disable on all Mac as it's also failing on 10.11 and retina.
25 # crbug.com/555045 24 # crbug.com/555045
26 @benchmark.Disabled('mac', 'reference') 25 @benchmark.Disabled('mac', 'reference')
27 class MemoryTop7Stress(perf_benchmark.PerfBenchmark): 26 class MemoryTop7Stress(perf_benchmark.PerfBenchmark):
28 """Use (recorded) real world web sites and measure memory consumption.""" 27 """Use (recorded) real world web sites and measure memory consumption."""
29 test = memory.Memory 28 test = memory.Memory
30 page_set = page_sets.Top7StressPageSet 29 page_set = page_sets.Top7StressPageSet
31 30
32 @classmethod 31 @classmethod
33 def Name(cls): 32 def Name(cls):
34 return 'memory.top_7_stress' 33 return 'memory.top_7_stress'
35 34
36 @classmethod 35 @classmethod
37 def ShouldDisable(cls, possible_browser): 36 def ShouldDisable(cls, possible_browser):
38 return cls.IsSvelte(possible_browser) # http://crbug.com/555092 37 return cls.IsSvelte(possible_browser) # http://crbug.com/555092
39 38
40 39
41 class MemoryLongRunningIdleGmail(perf_benchmark.PerfBenchmark):
42 """Use (recorded) real world web sites and measure memory consumption
43 of long running idle Gmail page """
44 test = memory.Memory
45 page_set = page_sets.LongRunningIdleGmailPageSet
46
47 @classmethod
48 def Name(cls):
49 return 'memory.long_running_idle_gmail'
50
51
52 @benchmark.Disabled('android') # crbug.com/542682 40 @benchmark.Disabled('android') # crbug.com/542682
53 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): 41 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark):
54 """Use (recorded) real world web sites and measure memory consumption 42 """Use (recorded) real world web sites and measure memory consumption
55 of long running idle Gmail page in background tab""" 43 of long running idle Gmail page in background tab"""
56 test = memory.Memory 44 test = memory.Memory
57 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet 45 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet
58 46
59 @classmethod 47 @classmethod
60 def Name(cls): 48 def Name(cls):
61 return 'memory.long_running_idle_gmail_background' 49 return 'memory.long_running_idle_gmail_background'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/memory_infra.py » ('j') | tools/perf/benchmarks/memory_infra.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698