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

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

Issue 2744723003: Adding owners to benchmark tests (Closed)
Patch Set: rebasing Created 3 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 | « tools/perf/benchmarks/image_decoding.py ('k') | tools/perf/benchmarks/jetstream.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 """Runs Chromium's IndexedDB performance test. These test: 5 """Runs Chromium's IndexedDB performance test. These test:
6 6
7 Databases: 7 Databases:
8 create/delete 8 create/delete
9 Keys: 9 Keys:
10 create/delete 10 create/delete
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 total += msec 82 total += msec
83 results.AddValue(scalar.ScalarValue( 83 results.AddValue(scalar.ScalarValue(
84 results.current_page, 'Total Perf', 'ms', total)) 84 results.current_page, 'Total Perf', 'ms', total))
85 85
86 def CustomizeBrowserOptions(self, options): 86 def CustomizeBrowserOptions(self, options):
87 memory.MemoryMetric.CustomizeBrowserOptions(options) 87 memory.MemoryMetric.CustomizeBrowserOptions(options)
88 power.PowerMetric.CustomizeBrowserOptions(options) 88 power.PowerMetric.CustomizeBrowserOptions(options)
89 89
90 90
91 @benchmark.Disabled('linux') # crbug.com/677972 91 @benchmark.Disabled('linux') # crbug.com/677972
92 @benchmark.Owner(emails=['cmumford@chromium.org'])
92 class IndexedDbOriginalSectioned(perf_benchmark.PerfBenchmark): 93 class IndexedDbOriginalSectioned(perf_benchmark.PerfBenchmark):
93 """Chromium's IndexedDB Performance tests.""" 94 """Chromium's IndexedDB Performance tests."""
94 test = _IndexedDbMeasurement 95 test = _IndexedDbMeasurement
95 page_set = page_sets.IndexedDBEndurePageSet 96 page_set = page_sets.IndexedDBEndurePageSet
96 97
97 @classmethod 98 @classmethod
98 def Name(cls): 99 def Name(cls):
99 return 'storage.indexeddb_endure' 100 return 'storage.indexeddb_endure'
100 101
101 102
102 @benchmark.Disabled('linux') # crbug.com/677972 103 @benchmark.Disabled('linux') # crbug.com/677972
104 @benchmark.Owner(emails=['cmumford@chromium.org'])
103 class IndexedDbTracing(perf_benchmark.PerfBenchmark): 105 class IndexedDbTracing(perf_benchmark.PerfBenchmark):
104 """IndexedDB Performance tests that use tracing.""" 106 """IndexedDB Performance tests that use tracing."""
105 page_set = page_sets.IndexedDBEndurePageSet 107 page_set = page_sets.IndexedDBEndurePageSet
106 108
107 def CreateTimelineBasedMeasurementOptions(self): 109 def CreateTimelineBasedMeasurementOptions(self):
108 cat_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter() 110 cat_filter = chrome_trace_category_filter.ChromeTraceCategoryFilter()
109 cat_filter.AddIncludedCategory(IDB_CATEGORY) 111 cat_filter.AddIncludedCategory(IDB_CATEGORY)
110 cat_filter.AddIncludedCategory(TIMELINE_REQUIRED_CATEGORY) 112 cat_filter.AddIncludedCategory(TIMELINE_REQUIRED_CATEGORY)
111 113
112 return timeline_based_measurement.Options( 114 return timeline_based_measurement.Options(
113 overhead_level=cat_filter) 115 overhead_level=cat_filter)
114 116
115 @classmethod 117 @classmethod
116 def Name(cls): 118 def Name(cls):
117 return 'storage.indexeddb_endure_tracing' 119 return 'storage.indexeddb_endure_tracing'
118 120
119 @classmethod 121 @classmethod
120 def ValueCanBeAddedPredicate(cls, value, is_first_result): 122 def ValueCanBeAddedPredicate(cls, value, is_first_result):
121 return 'idb' in value.name 123 return 'idb' in value.name
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/image_decoding.py ('k') | tools/perf/benchmarks/jetstream.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698