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

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

Issue 259623002: Remove FromDict from dorameo, indexeddb_perf, jsgamebench, kraken, octane, peacekeeper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 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/dromaeo.py ('k') | tools/perf/benchmarks/jsgamebench.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 power.PowerMetric.CustomizeBrowserOptions(options) 82 power.PowerMetric.CustomizeBrowserOptions(options)
83 v8_object_stats.V8ObjectStatsMetric.CustomizeBrowserOptions(options) 83 v8_object_stats.V8ObjectStatsMetric.CustomizeBrowserOptions(options)
84 84
85 class IndexedDb(test.Test): 85 class IndexedDb(test.Test):
86 """Chromium's IndexedDB Performance tests.""" 86 """Chromium's IndexedDB Performance tests."""
87 test = _IndexedDbMeasurement 87 test = _IndexedDbMeasurement
88 88
89 def CreatePageSet(self, options): 89 def CreatePageSet(self, options):
90 indexeddb_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test', 90 indexeddb_dir = os.path.join(util.GetChromiumSrcDir(), 'chrome', 'test',
91 'data', 'indexeddb') 91 'data', 'indexeddb')
92 return page_set.PageSet.FromDict({ 92 ps = page_set.PageSet(file_path=indexeddb_dir)
93 'pages': [ 93 ps.AddPageWithDefaultRunNavigate('file://perf_test.html')
94 { 'url': 'file://perf_test.html' } 94 return ps
95 ]
96 }, indexeddb_dir)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/dromaeo.py ('k') | tools/perf/benchmarks/jsgamebench.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698