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

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

Issue 789363002: TimelineBasedMeasurement(object) instead of TimelineBasedMeasurement(page_test.PageTest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 11 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 | « no previous file | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/session_restore.py
diff --git a/tools/perf/benchmarks/session_restore.py b/tools/perf/benchmarks/session_restore.py
index 305396c038bfbd1083055ee076f3c1e19dd6e83d..2591c0bc249876f059a4c2a0a84f7b94ec5dd3fb 100644
--- a/tools/perf/benchmarks/session_restore.py
+++ b/tools/perf/benchmarks/session_restore.py
@@ -36,13 +36,12 @@ class _SessionRestoreTest(benchmark.Benchmark):
def CreatePageTest(self, options):
is_cold = (self.tag == 'cold')
- return self.test(cold=is_cold)
+ return session_restore.SessionRestore(cold=is_cold)
# crbug.com/325479, crbug.com/381990
@benchmark.Disabled('android', 'linux', 'reference')
class SessionRestoreColdTypical25(_SessionRestoreTest):
tag = 'cold'
- test = session_restore.SessionRestore
page_set = page_sets.Typical25PageSet
options = {'pageset_repeat': 5}
@@ -51,6 +50,5 @@ class SessionRestoreColdTypical25(_SessionRestoreTest):
@benchmark.Disabled('android', 'linux', 'reference')
class SessionRestoreWarmTypical25(_SessionRestoreTest):
tag = 'warm'
- test = session_restore.SessionRestore
page_set = page_sets.Typical25PageSet
options = {'pageset_repeat': 20}
« no previous file with comments | « no previous file | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698