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

Unified Diff: tools/perf/benchmarks/task_execution_time.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/task_execution_time.py
diff --git a/tools/perf/benchmarks/task_execution_time.py b/tools/perf/benchmarks/task_execution_time.py
index eea42dc3b202ff2899449ed6671d5aff1eedaa13..7fd2617ad7180fc3294b9ac29c7ddbdac59666a9 100644
--- a/tools/perf/benchmarks/task_execution_time.py
+++ b/tools/perf/benchmarks/task_execution_time.py
@@ -14,6 +14,10 @@ class TaskExecutionTimeKeyMobileSites(benchmark.Benchmark):
test = task_execution_time.TaskExecutionTime
page_set = page_sets.KeyMobileSitesSmoothPageSet
+ @classmethod
+ def Name(cls):
+ return 'task_execution_time.key_mobile_sites_smooth'
+
@benchmark.Enabled('android')
class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
@@ -21,3 +25,7 @@ class TaskExecutionTimeToughSchedulingCases(benchmark.Benchmark):
http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
test = task_execution_time.TaskExecutionTime
page_set = page_sets.ToughSchedulingCasesPageSet
+ @classmethod
+ def Name(cls):
+ return 'task_execution_time.tough_scheduling_cases'
+

Powered by Google App Engine
This is Rietveld 408576698