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

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

Issue 816353008: [Telemetry] Explicitly define Name() method for all perf benchmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: tools/perf/benchmarks/session_restore.py
diff --git a/tools/perf/benchmarks/session_restore.py b/tools/perf/benchmarks/session_restore.py
index 2591c0bc249876f059a4c2a0a84f7b94ec5dd3fb..a12aeaef88fc7c33d9ba28ad362a22604ffd2c14 100644
--- a/tools/perf/benchmarks/session_restore.py
+++ b/tools/perf/benchmarks/session_restore.py
@@ -15,6 +15,10 @@ from telemetry.page import profile_generator
class _SessionRestoreTest(benchmark.Benchmark):
@classmethod
+ def Name(cls):
+ return 'session_restore'
+
+ @classmethod
def ProcessCommandLineArgs(cls, parser, args):
super(_SessionRestoreTest, cls).ProcessCommandLineArgs(parser, args)
profile_type = 'small_profile'
@@ -45,6 +49,10 @@ class SessionRestoreColdTypical25(_SessionRestoreTest):
page_set = page_sets.Typical25PageSet
options = {'pageset_repeat': 5}
+ @classmethod
+ def Name(cls):
+ return 'session_restore.cold.typical_25'
+
# crbug.com/325479, crbug.com/381990
@benchmark.Disabled('android', 'linux', 'reference')
@@ -52,3 +60,7 @@ class SessionRestoreWarmTypical25(_SessionRestoreTest):
tag = 'warm'
page_set = page_sets.Typical25PageSet
options = {'pageset_repeat': 20}
+ @classmethod
+ def Name(cls):
+ return 'session_restore.warm.typical_25'
+

Powered by Google App Engine
This is Rietveld 408576698