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

Unified Diff: tools/perf/benchmarks/octane.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, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/benchmarks/kraken.py ('k') | tools/perf/benchmarks/peacekeeper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/octane.py
diff --git a/tools/perf/benchmarks/octane.py b/tools/perf/benchmarks/octane.py
index 053f601322dcb39972be5ac163aedbfefcc8e148..4fc6a3e8d0290643925f59e9a0e41b3e7c109f52 100644
--- a/tools/perf/benchmarks/octane.py
+++ b/tools/perf/benchmarks/octane.py
@@ -80,12 +80,10 @@ class Octane(test.Test):
test = _OctaneMeasurement
def CreatePageSet(self, options):
- return page_set.PageSet.FromDict({
- 'archive_data_file': '../page_sets/data/octane.json',
- 'make_javascript_deterministic': False,
- 'pages': [{
- 'url':
- 'http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1'
- }
- ]
- }, os.path.abspath(__file__))
+ ps = page_set.PageSet(
+ archive_data_file='../page_sets/data/octane.json',
+ make_javascript_deterministic=False,
+ file_path=os.path.abspath(__file__))
+ ps.AddPageWithDefaultRunNavigate(
+ 'http://octane-benchmark.googlecode.com/svn/latest/index.html?auto=1')
+ return ps
« no previous file with comments | « tools/perf/benchmarks/kraken.py ('k') | tools/perf/benchmarks/peacekeeper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698