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

Unified Diff: tools/perf/benchmarks/dromaeo.py

Issue 797133003: Kill PageSet.AddPageWithDefaultRunNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/dom_perf.py ('k') | tools/perf/benchmarks/indexeddb_perf.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/dromaeo.py
diff --git a/tools/perf/benchmarks/dromaeo.py b/tools/perf/benchmarks/dromaeo.py
index 903c786fe93bd568e07583189e420557026025c1..0ee1ffd9ad001041bd31e51de2d7b32ad733051b 100644
--- a/tools/perf/benchmarks/dromaeo.py
+++ b/tools/perf/benchmarks/dromaeo.py
@@ -7,6 +7,7 @@ import os
from metrics import power
from telemetry import benchmark
+from telemetry import page as page_module
from telemetry.page import page_set
from telemetry.page import page_test
from telemetry.value import scalar
@@ -108,7 +109,7 @@ class _DromaeoBenchmark(benchmark.Benchmark):
archive_data_file=archive_data_file,
file_path=os.path.abspath(__file__), bucket=page_set.PUBLIC_BUCKET)
url = 'http://dromaeo.com?%s' % self.query_param
- ps.AddPageWithDefaultRunNavigate(url)
+ ps.AddUserStory(page_module.Page(url, ps, ps.base_dir))
return ps
« no previous file with comments | « tools/perf/benchmarks/dom_perf.py ('k') | tools/perf/benchmarks/indexeddb_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698