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

Unified Diff: tools/perf/benchmarks/polymer_load.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/polymer_load.py
diff --git a/tools/perf/benchmarks/polymer_load.py b/tools/perf/benchmarks/polymer_load.py
index f41b1ca39c0a7b45e68f11553ff4d69633db0343..031fc88f79fa52282107bcf8d399de751746b673 100644
--- a/tools/perf/benchmarks/polymer_load.py
+++ b/tools/perf/benchmarks/polymer_load.py
@@ -13,6 +13,10 @@ class PolymerLoadPica(benchmark.Benchmark):
test = polymer_load.PolymerLoadMeasurement
page_set = page_sets.PicaPageSet
+ @classmethod
+ def Name(cls):
+ return 'polymer_load.pica'
+
# There is something weird about this test (or a test that precedes it)
# that causes it to fail in telemetry_perf_unittests when it is not run
@@ -24,3 +28,7 @@ class PolymerLoadTopeka(benchmark.Benchmark):
"""Measures time to polymer-ready for Topeka (Quiz App)."""
test = polymer_load.PolymerLoadMeasurement
page_set = page_sets.TopekaPageSet
+ @classmethod
+ def Name(cls):
+ return 'polymer_load.topeka'
+

Powered by Google App Engine
This is Rietveld 408576698