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

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

Issue 1217813005: [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ethan's comments Created 5 years, 5 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/inbox_benchmark.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 power.PowerMetric.CustomizeBrowserOptions(options) 83 power.PowerMetric.CustomizeBrowserOptions(options)
84 84
85 class IndexedDb(perf_benchmark.PerfBenchmark): 85 class IndexedDb(perf_benchmark.PerfBenchmark):
86 """Chromium's IndexedDB Performance tests.""" 86 """Chromium's IndexedDB Performance tests."""
87 test = _IndexedDbMeasurement 87 test = _IndexedDbMeasurement
88 88
89 @classmethod 89 @classmethod
90 def Name(cls): 90 def Name(cls):
91 return 'indexeddb_perf' 91 return 'indexeddb_perf'
92 92
93 def CreatePageSet(self, options): 93 def CreateStorySet(self, options):
94 indexeddb_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', 94 indexeddb_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test',
95 'data', 'indexeddb') 95 'data', 'indexeddb')
96 ps = page_set.PageSet(base_dir=indexeddb_dir) 96 ps = page_set.PageSet(base_dir=indexeddb_dir)
97 ps.AddUserStory(page_module.Page('file://perf_test.html', ps, ps.base_dir)) 97 ps.AddUserStory(page_module.Page('file://perf_test.html', ps, ps.base_dir))
98 return ps 98 return ps
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/inbox_benchmark.py ('k') | tools/perf/benchmarks/jetstream.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698