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

Unified Diff: tools/perf/benchmarks/dom_perf.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/blink_perf.py ('k') | tools/perf/benchmarks/dromaeo.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/dom_perf.py
diff --git a/tools/perf/benchmarks/dom_perf.py b/tools/perf/benchmarks/dom_perf.py
index b39c7a13c3eaab271e3a3a29a69bee8151cba70a..af779b0f8d57b008bcdff478eb09797d95a183e8 100644
--- a/tools/perf/benchmarks/dom_perf.py
+++ b/tools/perf/benchmarks/dom_perf.py
@@ -7,6 +7,7 @@ import math
import os
from telemetry import benchmark
+from telemetry import page as page_module
from telemetry.core import util
from telemetry.page import page_set
from telemetry.page import page_test
@@ -91,6 +92,6 @@ class DomPerf(benchmark.Benchmark):
]
ps = page_set.PageSet(file_path=dom_perf_dir)
for param in run_params:
- ps.AddPageWithDefaultRunNavigate(
- 'file://run.html?reportInJS=1&run=%s' % param)
+ ps.AddUserStory(page_module.Page(
+ 'file://run.html?reportInJS=1&run=%s' % param, ps, ps.base_dir))
return ps
« no previous file with comments | « tools/perf/benchmarks/blink_perf.py ('k') | tools/perf/benchmarks/dromaeo.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698