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

Unified Diff: tools/perf/benchmarks/kraken.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/jsgamebench.py ('k') | tools/perf/benchmarks/octane.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/kraken.py
diff --git a/tools/perf/benchmarks/kraken.py b/tools/perf/benchmarks/kraken.py
index cc1ba48d91a64fe800d4ea00534cba9bd81e9e74..985325f7d2a6c7d385952411d61f7e95a70a0b61 100644
--- a/tools/perf/benchmarks/kraken.py
+++ b/tools/perf/benchmarks/kraken.py
@@ -54,9 +54,9 @@ class Kraken(test.Test):
test = _KrakenMeasurement
def CreatePageSet(self, options):
- return page_set.PageSet.FromDict({
- 'archive_data_file': '../page_sets/data/kraken.json',
- 'pages': [
- { 'url': 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html' }
- ]
- }, os.path.abspath(__file__))
+ ps = page_set.PageSet(
+ archive_data_file='../page_sets/data/kraken.json',
+ file_path=os.path.abspath(__file__))
+ ps.AddPageWithDefaultRunNavigate(
+ 'http://krakenbenchmark.mozilla.org/kraken-1.1/driver.html')
+ return ps
« no previous file with comments | « tools/perf/benchmarks/jsgamebench.py ('k') | tools/perf/benchmarks/octane.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698