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

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: Address comments from perezju 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
« no previous file with comments | « no previous file | tools/perf/benchmarks/memory_infra.py » ('j') | 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 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 20 matching lines...) Expand all
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 40
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 41 @benchmark.Disabled('android') # crbug.com/542682
53 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark): 42 class MemoryLongRunningIdleGmailBackground(perf_benchmark.PerfBenchmark):
54 """Use (recorded) real world web sites and measure memory consumption 43 """Use (recorded) real world web sites and measure memory consumption
55 of long running idle Gmail page in background tab""" 44 of long running idle Gmail page in background tab"""
56 test = memory.Memory 45 test = memory.Memory
57 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet 46 page_set = page_sets.LongRunningIdleGmailBackgroundPageSet
58 47
59 @classmethod 48 @classmethod
60 def Name(cls): 49 def Name(cls):
61 return 'memory.long_running_idle_gmail_background' 50 return 'memory.long_running_idle_gmail_background'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/memory_infra.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698